Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0107/0.0107, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.002365/0.002365, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.606/1.606, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002351/1.14, allocations: 0.6701 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001134/1.142, allocations: 0.7845 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/1.142, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/1.142, allocations: 3.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/1.142, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/1.142, allocations: 15.94 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.977e-05/1.142, allocations: 19.98 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/1.142, allocations: 15.97 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/1.142, allocations: 3.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/1.142, allocations: 11.98 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/1.142, allocations: 7.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/1.142, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/1.142, allocations: 7.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/1.143, allocations: 7.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.998e-05/1.143, allocations: 19.97 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.143, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.414e-06/1.143, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.143, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 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.0005382/1.143, allocations: 343.3 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.143, allocations: 12.02 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/1.143, allocations: 0.9375 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/1.143, allocations: 164.4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.143, allocations: 384 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/1.143, allocations: 4.312 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.144, allocations: 58.22 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.144, allocations: 4.125 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.144, allocations: 3.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.144, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/1.144, allocations: 39.89 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/1.144, allocations: 245 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/1.145, allocations: 42.5 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/1.145, allocations: 20.91 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/1.145, allocations: 7.984 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.145, allocations: 30.56 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/1.145, allocations: 3.938 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003815/1.145, allocations: 85.55 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/1.145, allocations: 55.41 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/1.145, allocations: 97.86 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.145, allocations: 25.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/1.145, allocations: 84.14 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/1.145, allocations: 11.89 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/1.145, allocations: 13.84 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.145, allocations: 314.8 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/1.146, allocations: 15.98 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/1.146, allocations: 11.98 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/1.146, allocations: 48.75 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.146, allocations: 4.062 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/1.146, allocations: 69.59 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.146, allocations: 4 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.146, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.146, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/1.146, allocations: 8 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.146, allocations: 0 / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/1.146, allocations: 12.02 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/1.146, allocations: 4 kB / 1.211 GB, free: 10.01 MB / 0.9356 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.257e-05/1.146, allocations: 109.8 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/1.146, allocations: 4 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/1.147, allocations: 76.7 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.147, allocations: 0 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.147, allocations: 0 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.147, allocations: 4.031 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/1.147, allocations: 165.5 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.147, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/1.147, allocations: 7.984 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.147, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.147, allocations: 3.938 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.147, allocations: 4 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.147, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/1.147, allocations: 175.3 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/1.147, allocations: 78.94 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/1.147, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/1.147, allocations: 7.984 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/1.147, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/1.147, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.729e-05/1.147, allocations: 87.45 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.147, allocations: 4.031 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002082/1.148, allocations: 4 kB / 1.212 GB, free: 9.195 MB / 0.9356 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.0001547/1.148, allocations: 99.39 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000225/1.148, allocations: 31.97 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.148, allocations: 0 / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/1.148, allocations: 31.97 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.148, allocations: 7.938 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/1.149, allocations: 110 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.149, allocations: 0.6768 MB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.996e-05/1.149, allocations: 7.984 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/1.149, allocations: 7.438 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/1.149, allocations: 0 / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.002784/1.152, allocations: 446.7 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches