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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006758/0.006758, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.0011/0.0011, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.002148/1.016, allocations: 0.6593 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001381/1.018, allocations: 0.7905 MB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/1.018, allocations: 0 / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/1.018, allocations: 3.938 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/1.018, allocations: 1.922 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/1.018, allocations: 8.344 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/1.018, allocations: 28.05 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/1.019, allocations: 8.031 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/1.019, allocations: 9.625 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/1.019, allocations: 9.609 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/1.019, allocations: 2.844 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/1.019, allocations: 1.125 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/1.019, allocations: 9.609 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/1.019, allocations: 11.59 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/1.019, allocations: 20.73 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.019, allocations: 4.75 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.829e-06/1.019, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.019, allocations: 4.656 kB / 1.09 GB, free: 4.43 MB / 0.8575 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.0006039/1.02, allocations: 332.2 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/1.02, allocations: 9.844 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/1.02, allocations: 5.969 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/1.02, allocations: 171.4 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.02, allocations: 1.438 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/1.02, allocations: 2.062 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/1.02, allocations: 52.66 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.02, allocations: 192 / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/1.02, allocations: 8.969 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/1.02, allocations: 0.6562 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/1.02, allocations: 35.92 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/1.021, allocations: 246.6 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/1.021, allocations: 40.59 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/1.021, allocations: 23.16 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/1.021, allocations: 1.578 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.021, allocations: 36.17 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.021, allocations: 0 / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003794/1.022, allocations: 83.89 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.022, allocations: 60.16 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/1.022, allocations: 97.5 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/1.022, allocations: 26.8 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/1.022, allocations: 88.61 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/1.022, allocations: 1.922 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/1.022, allocations: 17.77 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.366e-05/1.022, allocations: 316.8 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/1.022, allocations: 13.97 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/1.022, allocations: 17.16 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/1.022, allocations: 45.44 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.022, allocations: 1.344 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/1.022, allocations: 70.8 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.022, allocations: 4.984 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.022, allocations: 0.9062 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.022, allocations: 0 / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/1.023, allocations: 9.234 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.023, allocations: 1.219 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/1.023, allocations: 13.25 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/1.023, allocations: 1.125 kB / 1.091 GB, free: 2.715 MB / 0.8575 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.279e-05/1.023, allocations: 113 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/1.023, allocations: 5.312 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/1.023, allocations: 70.45 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.023, allocations: 1.156 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.023, allocations: 4.734 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.023, allocations: 1.094 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/1.023, allocations: 158.8 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.023, allocations: 1.312 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/1.023, allocations: 8.859 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.023, allocations: 0.6094 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.023, allocations: 0 / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.023, allocations: 2.047 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.023, allocations: 0 / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/1.024, allocations: 174.5 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/1.024, allocations: 82.91 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.024, allocations: 0.8906 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/1.024, allocations: 5.703 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/1.024, allocations: 7.859 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/1.024, allocations: 0 / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.751e-05/1.024, allocations: 88.23 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.024, allocations: 0 / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002163/1.024, allocations: 4.688 kB / 1.092 GB, free: 2.016 MB / 0.8575 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.0001895/1.024, allocations: 100.8 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002393/1.024, allocations: 35.69 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.024, allocations: 0 / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/1.025, allocations: 28.3 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/1.025, allocations: 9.297 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.025, allocations: 105.9 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/1.025, allocations: 0.6785 MB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.767e-05/1.025, allocations: 1.703 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/1.025, allocations: 9.031 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/1.025, allocations: 0 / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of Templates: time 0.003008/1.028, allocations: 448.2 kB / 1.093 GB, free: 1.027 MB / 0.8575 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 -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/jenkins/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