Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.0009964/0.0009964, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009718/0.0009718, allocations: 169 kB / 23.02 MB, free: 1.547 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.9619/0.9619, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.134/2.134, allocations: 429.4 MB / 0.6732 GB, free: 4.035 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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.506e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001326/0.001351, allocations: 0.6878 MB / 0.8789 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.002273, allocations: 0.8725 MB / 0.8798 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.00231, allocations: 0 / 0.8798 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.002342, allocations: 3.938 kB / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.002412, allocations: 1.422 kB / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.002637, allocations: 12.64 kB / 0.8798 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.002713, allocations: 30.09 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.002811, allocations: 4 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.002891, allocations: 17.52 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.002943, allocations: 11.94 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.00296, allocations: 0 / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.157e-05/0.003011, allocations: 7.984 kB / 0.8799 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.003025, allocations: 1.031 kB / 0.8799 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.003048, allocations: 8 kB / 0.8799 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003162, allocations: 23.91 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003164, allocations: 1.094 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003165, allocations: 0 / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003169, allocations: 0 / 0.8799 GB, free: 4.613 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.0003628/0.003532, allocations: 361.7 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.00357, allocations: 11.97 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.003673, allocations: 8.875 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.003758, allocations: 113.7 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.00377, allocations: 4.375 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.00378, allocations: 384 / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.003897, allocations: 59.75 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.003908, allocations: 192 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003916, allocations: 2.031 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.003925, allocations: 384 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.003954, allocations: 7.938 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.004238, allocations: 243.8 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.004291, allocations: 31.59 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.004314, allocations: 17.59 kB / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.004337, allocations: 3.938 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.00436, allocations: 33.39 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.004361, allocations: 0 / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.004507, allocations: 38.95 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.00454, allocations: 55.41 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.004619, allocations: 165.9 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.004629, allocations: 26.8 kB / 0.881 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.004676, allocations: 126.9 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.004695, allocations: 7.953 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.004724, allocations: 24.02 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.004843, allocations: 492.1 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.004855, allocations: 5.594 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.004866, allocations: 7.938 kB / 0.8817 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.004893, allocations: 11.69 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004895, allocations: 2.625 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.05e-05/0.004946, allocations: 41.64 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.004957, allocations: 8 kB / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.004963, allocations: 7.938 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.00498, allocations: 0 / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.005049, allocations: 8 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.005054, allocations: 1.906 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.00507, allocations: 4 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.005076, allocations: 3.984 kB / 0.8817 GB, free: 2.52 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 5.732e-05/0.005133, allocations: 164.5 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.005147, allocations: 0.7188 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.005239, allocations: 48.94 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005241, allocations: 0.5625 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.005245, allocations: 0.9688 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005248, allocations: 0 / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.009e-05/0.005338, allocations: 116.6 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005339, allocations: 256 / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.00536, allocations: 8 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005362, allocations: 0 / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.005371, allocations: 4 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005373, allocations: 3.938 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005373, allocations: 0 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.393e-05/0.005467, allocations: 183.9 kB / 0.8822 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.005477, allocations: 15.89 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.005486, allocations: 0 / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.005517, allocations: 7.938 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.005552, allocations: 4.016 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.005554, allocations: 4 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.005585, allocations: 123.2 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005585, allocations: 0 / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001432/0.005729, 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 6.734e-05/0.005796, allocations: 91.25 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.56e-05/0.005871, allocations: 27.61 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005872, allocations: 0 / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.005886, allocations: 7.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.0001748/0.006061, allocations: 8.062 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.006469, allocations: 118.4 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.006501, allocations: 59.34 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.006515, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.006539, allocations: 8.5 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/0.00654, allocations: 0 / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of Templates: time 0.001899/0.008438, allocations: 491.8 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.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.595520644914359]