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.0009865/0.0009865, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009667/0.0009667, 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.956/0.956, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.036/2.036, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.465e-06/2.465e-06, allocations: 0 / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.062e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001326/0.001357, allocations: 0.6773 MB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.002165, allocations: 0.8736 MB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.002198, allocations: 0 / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.002227, allocations: 5.688 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.002293, allocations: 5.078 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.002477, allocations: 13.83 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.002551, allocations: 23.88 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.002636, allocations: 7.984 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.002706, allocations: 16.53 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.244e-05/0.002738, allocations: 8.859 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.002752, allocations: 0 / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.416e-05/0.002797, allocations: 11.94 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.002812, allocations: 9.078 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002831, allocations: 7.922 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.00293, allocations: 19.98 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002932, allocations: 1 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002933, allocations: 0 / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.002937, allocations: 1.094 kB / 0.8799 GB, free: 4.566 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.0003394/0.003276, allocations: 360.6 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.003316, allocations: 8.031 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.003415, allocations: 9.578 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/0.003498, allocations: 112.6 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.003507, allocations: 1.344 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.003516, allocations: 384 / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.00363, allocations: 59.64 kB / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.003636, allocations: 192 / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.003644, allocations: 3.875 kB / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.003651, allocations: 384 / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.00368, allocations: 11.92 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.00396, allocations: 243.9 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.004013, allocations: 27.06 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.004033, allocations: 11.75 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.004054, allocations: 3.938 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.004081, allocations: 37.38 kB / 0.8807 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004082, allocations: 4.625 kB / 0.8807 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.004279, allocations: 46.17 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.00431, allocations: 51.41 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.004379, allocations: 162.7 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.004388, allocations: 25.7 kB / 0.881 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.004433, allocations: 131.7 kB / 0.8811 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.00445, allocations: 7.938 kB / 0.8811 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.004475, allocations: 16.91 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.004581, allocations: 0.4884 MB / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.004596, allocations: 3.984 kB / 0.8816 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-06/0.004606, allocations: 7.938 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.004635, allocations: 19.88 kB / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004637, allocations: 0 / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.268e-05/0.00469, allocations: 41.66 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004702, allocations: 4 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.004707, allocations: 3.938 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004719, allocations: 0 / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.00479, allocations: 11.98 kB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.004795, allocations: 0 / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.004812, allocations: 3.938 kB / 0.8817 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.004816, allocations: 4.219 kB / 0.8817 GB, free: 2.469 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 6.05e-05/0.004877, allocations: 160.5 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.00489, allocations: 4 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.099e-05/0.004971, allocations: 48.92 kB / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.004973, allocations: 0 / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.004976, allocations: 0 / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004979, allocations: 0 / 0.8819 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.00507, allocations: 116.6 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.005072, allocations: 4 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.005099, allocations: 7.984 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005102, allocations: 4.031 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.005109, allocations: 0 / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005111, allocations: 3.938 kB / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005112, allocations: 0 / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.192e-05/0.005204, allocations: 187.9 kB / 0.8822 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-06/0.005211, allocations: 7.938 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.00522, allocations: 0 / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.00525, allocations: 11.88 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.005282, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005284, allocations: 0 / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.005319, allocations: 135.2 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005319, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000141/0.00546, allocations: 4 kB / 0.8824 GB, free: 1.715 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 8.78e-05/0.005548, allocations: 91.25 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.896e-05/0.005637, allocations: 19.62 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.005638, allocations: 0 / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.005658, allocations: 15.67 kB / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.005854, allocations: 11.94 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.0063, allocations: 118.5 kB / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.006346, allocations: 55.36 kB / 0.8827 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.006362, allocations: 3.984 kB / 0.8827 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.006388, allocations: 8.5 kB / 0.8827 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/0.006389, allocations: 0 / 0.8827 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of Templates: time 0.002206/0.008595, allocations: 0.4971 MB / 0.8832 GB, free: 0.8438 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.1953047988936305]