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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00141/0.00141, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001297/0.001298, allocations: 187 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 71.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8342, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001917/0.8361, allocations: 0.6577 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.8371, allocations: 0.7923 MB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.8371, allocations: 4 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.8372, allocations: 3.938 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.8373, allocations: 7.984 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.8374, allocations: 7.984 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.8375, allocations: 23.92 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.8376, allocations: 4 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.8377, allocations: 8 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.8377, allocations: 15.92 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.8377, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.8377, allocations: 8 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.8378, allocations: 3.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.8378, allocations: 15.91 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.779e-05/0.8379, allocations: 27.91 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8379, allocations: 0 / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8379, allocations: 0 / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8379, allocations: 0 / 1.169 GB, free: 2.277 MB / 0.8887 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.0004552/0.8384, allocations: 335.3 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/0.8384, allocations: 12.92 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.8385, allocations: 8.938 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.8386, allocations: 164.4 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.8386, allocations: 384 / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.8386, allocations: 4.375 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.8389, allocations: 50.23 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.8389, allocations: 192 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8389, allocations: 3.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.839, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.8391, allocations: 39.89 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.8394, allocations: 245 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.8396, allocations: 38.5 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.8397, allocations: 24.89 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.8397, allocations: 4 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.8397, allocations: 30.56 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.8397, allocations: 4 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.8401, allocations: 85.48 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.8401, allocations: 55.41 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.8402, allocations: 102 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.8402, allocations: 37.58 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.8403, allocations: 86.56 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.8403, allocations: 3.906 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.8403, allocations: 17.72 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8405, allocations: 310.8 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.8405, allocations: 15.98 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.8406, allocations: 23.97 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.8408, allocations: 36.77 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8408, allocations: 4 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.841, allocations: 65.59 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.841, allocations: 8 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.841, allocations: 0 / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.841, allocations: 4.094 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.8411, allocations: 7.984 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.8411, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.8412, allocations: 8 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.8412, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 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 6.95e-05/0.8413, allocations: 117.8 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.8413, allocations: 0 / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.8415, allocations: 80.72 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8415, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8416, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.8416, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.8417, allocations: 157.6 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8417, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.8418, allocations: 11.98 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8418, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.8418, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8418, allocations: 32 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8419, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.8421, allocations: 171.3 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.8421, allocations: 83.12 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.8422, allocations: 7.984 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.8422, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.8423, allocations: 12.02 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.8423, allocations: 3.984 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.8423, allocations: 83.22 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8423, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002175/0.8426, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 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.0001421/0.8427, allocations: 99.25 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.8429, allocations: 43.95 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.8429, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.843, allocations: 23.86 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.8433, allocations: 10.75 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.8437, allocations: 142.4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.844, allocations: 0.6768 MB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.844, allocations: 11.56 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.844, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.001778/0.8458, allocations: 0.538 MB / 1.173 GB, free: 13.83 MB / 0.9044 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 -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