Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 111.3 kB / 16.37 MB, free: 6.012 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.001295/0.001295, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 69.66 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 140.4 MB / 0.9512 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.00242/0.3442, allocations: 0.6568 MB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3453, allocations: 0.7885 MB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.3453, allocations: 4 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.3454, allocations: 7.938 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.3455, allocations: 3.938 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.3456, allocations: 4 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.3457, allocations: 23.92 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3458, allocations: 4 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.3459, allocations: 15.92 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.346, allocations: 11.97 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.346, allocations: 3.938 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.346, allocations: 4 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.3461, allocations: 11.94 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.3461, allocations: 12 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.3462, allocations: 19.91 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3462, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3462, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3462, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 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.0004921/0.3467, allocations: 331.5 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3468, allocations: 8.031 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.3468, allocations: 8.938 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3469, allocations: 176.2 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.347, allocations: 384 / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.347, allocations: 4.375 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3472, allocations: 54.17 kB / 0.9532 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3472, allocations: 192 / 0.9532 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3472, allocations: 3.938 kB / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3472, allocations: 0 / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.3474, allocations: 31.97 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3477, allocations: 248.9 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3479, allocations: 44.61 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.348, allocations: 24.84 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.348, allocations: 3.984 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.348, allocations: 38.55 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.348, allocations: 0 / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003321/0.3484, allocations: 77.66 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3484, allocations: 55.39 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.3485, allocations: 97.86 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3485, allocations: 29.83 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.3486, allocations: 84.14 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3486, allocations: 3.906 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3486, allocations: 17.7 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3488, allocations: 314.8 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.3489, allocations: 15.92 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.3489, allocations: 19.98 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3491, allocations: 44.88 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3491, allocations: 4 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.3493, allocations: 61.61 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3493, allocations: 4 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3493, allocations: 7.984 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3493, allocations: 4.031 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.3494, allocations: 4 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3494, allocations: 3.938 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.3495, allocations: 11.92 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3495, allocations: 0 / 0.9544 GB, free: 4.395 MB / 0.7325 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 8.235e-05/0.3496, allocations: 117.8 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3496, allocations: 3.906 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.3498, allocations: 72.78 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3498, allocations: 3.984 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3498, allocations: 0 / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3498, allocations: 0 / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.35, allocations: 157.6 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.35, allocations: 0 / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.3501, allocations: 11.98 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3501, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.3501, allocations: 3.938 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3501, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3501, allocations: 4.031 kB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.3504, allocations: 167.6 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.3504, allocations: 81.09 kB / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3504, allocations: 0 / 0.955 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.3505, allocations: 7.984 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3506, allocations: 12.03 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3506, allocations: 0 / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.3506, allocations: 83.27 kB / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.3506, allocations: 0 / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002108/0.3508, allocations: 4 kB / 0.9551 GB, free: 3.578 MB / 0.7325 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.0001567/0.351, allocations: 95.25 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3512, allocations: 43.91 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3512, allocations: 0 / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.3513, allocations: 23.97 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3516, allocations: 7.875 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.352, allocations: 105.5 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3523, allocations: 0.6766 MB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.3523, allocations: 8.109 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3523, allocations: 11.44 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3523, allocations: 0 / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Templates: time 0.00258/0.3549, allocations: 442.4 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches