Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 114.3 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 187.5 kB / 17.3 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 76.81 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00189/0.2936, allocations: 0.658 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00078/0.2944, allocations: 0.8001 MB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.2944, allocations: 0 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.2945, allocations: 0 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.2945, allocations: 3.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.2947, allocations: 4 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.2948, allocations: 35.86 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2949, allocations: 7.984 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.2949, allocations: 7.984 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.295, allocations: 15.92 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.295, allocations: 4 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.295, allocations: 0 / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.295, allocations: 0 / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.2951, allocations: 11.94 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.817e-05/0.2951, allocations: 15.97 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2951, allocations: 0 / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.547e-06/0.2952, allocations: 7.938 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2952, allocations: 3.938 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004167/0.2956, allocations: 343.4 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2956, allocations: 16.84 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2957, allocations: 4.844 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2958, allocations: 168.4 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2958, allocations: 384 / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.2958, allocations: 384 / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.296, allocations: 54.23 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.296, allocations: 192 / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.296, allocations: 3.938 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.296, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.2962, allocations: 35.95 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2965, allocations: 252.9 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2966, allocations: 38.5 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.2967, allocations: 20.91 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2968, allocations: 7.984 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2968, allocations: 30.56 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2968, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000342/0.2971, allocations: 89.58 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2972, allocations: 51.41 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.2973, allocations: 97.86 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2973, allocations: 25.7 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.2973, allocations: 80.14 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2974, allocations: 7.906 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2974, allocations: 21.83 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.2975, allocations: 314.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.2976, allocations: 15.98 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.2977, allocations: 11.98 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2978, allocations: 40.81 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2978, allocations: 4.062 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.298, allocations: 77.44 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.298, allocations: 4 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.298, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2981, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.2982, allocations: 8 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2982, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.2982, allocations: 11.98 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2982, allocations: 4.031 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.2983, allocations: 114.4 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.2983, allocations: 4 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.2986, allocations: 76.7 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2986, allocations: 3.938 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2986, allocations: 0 / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2986, allocations: 4.031 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2988, allocations: 157.6 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2988, allocations: 4 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.2988, allocations: 7.984 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2988, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2989, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2989, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2989, allocations: 4 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.2991, allocations: 159.5 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.2991, allocations: 85.3 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2991, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.2992, allocations: 11.92 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.2993, allocations: 3.984 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2993, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.2993, allocations: 83.27 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2993, allocations: 32 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002182/0.2996, allocations: 11.94 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.2997, allocations: 103.2 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2999, allocations: 31.97 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2999, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3, allocations: 19.97 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3003, allocations: 16.06 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.3006, allocations: 110 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3008, allocations: 0.6768 MB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.3008, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.3008, allocations: 7.438 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3008, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of Templates: time 0.002482/0.3033, allocations: 443.2 kB / 1.024 GB, free: 3.91 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches