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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001403/0.001403, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001472/0.001472, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004018, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0008437/0.8165, allocations: 398.1 kB / 1.021 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008244/0.8173, allocations: 0.7846 MB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.8174, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.8174, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.8175, allocations: 7.938 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.8176, allocations: 15.97 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.8177, allocations: 8 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.8178, allocations: 3.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.8178, allocations: 7.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.8179, allocations: 15.92 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.8179, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.8179, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.8179, allocations: 4 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.818, allocations: 29.7 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.971e-05/0.818, allocations: 15.97 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.818, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.818, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.818, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 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.0004169/0.8185, allocations: 339.2 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.8185, allocations: 11.98 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.8185, allocations: 4 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.8187, allocations: 171 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.8187, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.8187, allocations: 8 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.8189, allocations: 53.58 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.8189, allocations: 0 / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8189, allocations: 7.984 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8189, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.8191, allocations: 43.97 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.8195, allocations: 244.9 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.8196, allocations: 50.53 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.8196, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.8197, allocations: 34.62 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.8197, allocations: 0 / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.82, allocations: 97.55 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.8201, allocations: 59.34 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.8201, allocations: 93.86 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.8202, allocations: 33.69 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.8202, allocations: 92.2 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.8202, allocations: 3.906 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.8202, allocations: 0 / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.8203, allocations: 314.8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.8204, allocations: 23.98 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.8205, allocations: 23.97 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.8206, allocations: 23.98 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8206, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.8208, allocations: 77.88 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8208, allocations: 7.984 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8209, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8209, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.821, allocations: 11.98 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.821, allocations: 3.938 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.821, allocations: 12.02 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.8211, allocations: 4 kB / 1.024 GB, free: 13.81 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.8211, allocations: 109.8 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.8212, allocations: 3.953 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.8214, allocations: 84.77 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8214, allocations: 0 / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8214, allocations: 0 / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8214, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.8216, allocations: 161.6 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8216, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.8217, allocations: 11.98 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8217, allocations: 3.953 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.8217, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.8217, allocations: 4.031 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8217, allocations: 3.938 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.822, allocations: 175.4 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.822, allocations: 81.14 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.822, allocations: 3.953 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.8221, allocations: 11.98 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.8222, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.8222, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.8222, allocations: 87.27 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8222, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002107/0.8224, allocations: 4 kB / 1.025 GB, free: 12.97 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.8226, allocations: 99.25 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.8228, allocations: 47.91 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8228, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.8229, allocations: 32.03 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.8231, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.8234, allocations: 110.6 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.8236, allocations: 0.677 MB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.8237, allocations: 12.05 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.8237, allocations: 7.438 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of SimCode: time 1.513e-06/0.8237, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002334/0.8261, allocations: 355.5 kB / 1.026 GB, free: 11.58 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches