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.001008/0.001008, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.0009377/0.0009377, allocations: 172.9 kB / 23.02 MB, free: 1.562 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 0.9839/0.9839, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.178/2.178, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 7.324e-06/7.324e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.574e-05/6.306e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.003093/0.003156, allocations: 0.6766 MB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004542, allocations: 0.8405 MB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.004586, allocations: 0 / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.004629, allocations: 9.953 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.113e-05/0.00472, allocations: 3.938 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.004975, allocations: 9.062 kB / 0.8798 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.005064, allocations: 27.92 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.005176, allocations: 1.594 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.00528, allocations: 19.92 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.005323, allocations: 11.97 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.005342, allocations: 7.938 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.005398, allocations: 4 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.005415, allocations: 5.5 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.005438, allocations: 0 / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.005592, allocations: 27.91 kB / 0.8799 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.005599, allocations: 0 / 0.8799 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.665e-06/0.005601, allocations: 3.062 kB / 0.8799 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.005608, allocations: 0 / 0.8799 GB, free: 4.629 MB / 0.8386 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.0004838/0.006091, allocations: 356.7 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.006145, allocations: 8.031 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.006307, allocations: 8.875 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006427, allocations: 120.5 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.006441, allocations: 384 / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.006452, allocations: 384 / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.006626, allocations: 59.59 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006636, allocations: 5.781 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.006648, allocations: 384 / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.006658, allocations: 4.375 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.006698, allocations: 3.938 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.007091, allocations: 247.8 kB / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.007174, allocations: 32.41 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.0072, allocations: 11.75 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.007222, allocations: 4 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.007254, allocations: 41.33 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.007256, allocations: 0 / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.007464, allocations: 45.62 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.007505, allocations: 51.41 kB / 0.8808 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.007611, allocations: 153.9 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.007634, allocations: 33.69 kB / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.007691, allocations: 130.9 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.007714, allocations: 3.953 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.007757, allocations: 19.38 kB / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.007903, allocations: 0.4885 MB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.007925, allocations: 0 / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.007943, allocations: 7.938 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.007986, allocations: 15.67 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.007989, allocations: 0 / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.972e-05/0.008079, allocations: 41.66 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.0081, allocations: 4 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.008107, allocations: 3.938 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.008125, allocations: 0 / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.008237, allocations: 12.08 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.008245, allocations: 8 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.008268, allocations: 0 / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.008277, allocations: 4 kB / 0.8817 GB, free: 2.523 MB / 0.8386 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.363e-05/0.008361, allocations: 156.5 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.008386, allocations: 3.938 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.008524, allocations: 48.94 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008527, allocations: 0 / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.008533, allocations: 0 / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.008538, allocations: 4 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.008689, allocations: 120.7 kB / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008692, allocations: 0 / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.008749, allocations: 4 kB / 0.882 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.008752, allocations: 0 / 0.882 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.00876, allocations: 0 / 0.882 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.008764, allocations: 7.922 kB / 0.882 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.008766, allocations: 0 / 0.882 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.008908, allocations: 187.9 kB / 0.8822 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.008918, allocations: 3.953 kB / 0.8822 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.008931, allocations: 0 / 0.8822 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.009, allocations: 15.95 kB / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.009043, allocations: 0 / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.009047, allocations: 0 / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.107e-05/0.009098, allocations: 135.3 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009098, allocations: 0 / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002447/0.009343, allocations: 4 kB / 0.8824 GB, free: 1.773 MB / 0.8386 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.0001436/0.009487, allocations: 91.25 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.009598, allocations: 19.62 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.0096, allocations: 0 / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.009622, allocations: 15.75 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.009922, allocations: 11.98 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.01057, allocations: 114.4 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.01062, allocations: 55.36 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.01064, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.01068, allocations: 12.5 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of SimCode: time 1.723e-06/0.01068, allocations: 4.062 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of Templates: time 0.003163/0.01384, allocations: 0.5129 MB / 0.8832 GB, free: 0.8867 MB / 0.8386 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 -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.458932338282466]