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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.516/2.516, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.618e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001504/0.00152, allocations: 0.7305 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.005439, allocations: 0.8353 MB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.005472, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.005497, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.005558, allocations: 7.938 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.005698, allocations: 15.92 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.005758, allocations: 15.94 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.005829, allocations: 15.97 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.005897, allocations: 8 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.005929, allocations: 7.984 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.00594, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.005989, allocations: 8 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.006018, allocations: 7.938 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.006032, allocations: 7.984 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.006109, allocations: 23.91 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.006111, allocations: 3.938 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.006111, allocations: 0 / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.006115, allocations: 0 / 0.8403 GB, free: 12.38 MB / 0.8073 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.000255/0.00637, allocations: 229 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.006405, allocations: 12.62 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.00649, allocations: 8.859 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.006578, allocations: 117.7 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.006588, allocations: 384 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.006595, allocations: 4.375 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.007046, allocations: 46.95 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.007055, allocations: 192 / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.007065, allocations: 8.359 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.007076, allocations: 384 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.007101, allocations: 7.875 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.007333, allocations: 148.3 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.007377, allocations: 22.58 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.007391, allocations: 8.859 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.007404, allocations: 0 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.007432, allocations: 34.62 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.007432, allocations: 0 / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.007553, allocations: 41.62 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.007589, allocations: 59.34 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.007657, allocations: 106.7 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.007669, allocations: 25.7 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.007703, allocations: 84.14 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.007723, allocations: 8.062 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.007752, allocations: 13.72 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.007944, allocations: 318.8 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.007953, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.007963, allocations: 4 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.007986, allocations: 12.84 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007988, allocations: 3.938 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.891e-05/0.008036, allocations: 33.7 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.008048, allocations: 4 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008052, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.008065, allocations: 4.094 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.008124, allocations: 11.92 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.008127, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.008148, allocations: 8 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.008152, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 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 5.884e-05/0.00821, allocations: 109.8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.008228, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.008293, allocations: 40.94 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008295, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008299, allocations: 11.97 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008302, allocations: 3.984 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.008408, allocations: 65.91 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008409, allocations: 0 / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.008431, allocations: 4 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.008434, allocations: 3.984 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.008437, allocations: 3.938 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.008438, allocations: 4 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008439, allocations: 0 / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/0.008512, allocations: 131.4 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.00852, allocations: 16 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.008528, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.008557, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.008582, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.008584, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.318e-06/0.008594, allocations: 12.78 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.008594, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001143/0.008708, allocations: 11.94 kB / 0.8421 GB, free: 10.39 MB / 0.8073 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 6.169e-05/0.00877, allocations: 76.42 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.799e-05/0.008818, allocations: 12.86 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008819, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.008832, allocations: 12.84 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.008964, allocations: 11.92 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.009272, allocations: 112.7 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.009301, allocations: 55.34 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.009316, allocations: 8.125 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.00935, allocations: 47.38 kB / 0.8424 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.009351, allocations: 0 / 0.8424 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of Templates: time 0.001754/0.0111, allocations: 479.7 kB / 0.8429 GB, free: 9.535 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2805186389014125]