Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.0009835/0.0009835, allocations: 93.06 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.0009183/0.0009183, allocations: 169 kB / 23.02 MB, free: 1.543 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.9498/0.9498, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.091/2.091, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.921e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001813/0.001842, allocations: 0.6118 MB / 0.8788 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 7.251e-05/0.001914, allocations: 192 / 0.8788 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.001936, allocations: 1.703 kB / 0.8788 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.415e-05/0.00198, allocations: 3.938 kB / 0.8788 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.002016, allocations: 1.625 kB / 0.8788 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.44e-05/0.00206, allocations: 4 kB / 0.8788 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.002137, allocations: 0.875 kB / 0.8788 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.00219, allocations: 0 / 0.8788 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.002231, allocations: 0.9688 kB / 0.8788 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.002258, allocations: 4 kB / 0.8788 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.00228, allocations: 0 / 0.8788 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-06/0.002285, allocations: 1.094 kB / 0.8788 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.002303, allocations: 5.094 kB / 0.8788 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.002325, allocations: 0 / 0.8788 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.474e-05/0.0024, allocations: 4.609 kB / 0.8788 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002402, allocations: 0.6562 kB / 0.8788 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002403, allocations: 0 / 0.8788 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.002408, allocations: 1 kB / 0.8788 GB, free: 5.621 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000317/0.002725, allocations: 337.1 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.002776, allocations: 12.03 kB / 0.8792 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.002822, allocations: 2.094 kB / 0.8792 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.002904, allocations: 108.6 kB / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.002918, allocations: 384 / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.002932, allocations: 5.375 kB / 0.8793 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/0.003029, allocations: 39.28 kB / 0.8793 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.003039, allocations: 1.281 kB / 0.8793 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.003048, allocations: 384 / 0.8793 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.003058, allocations: 384 / 0.8793 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.003075, allocations: 9.062 kB / 0.8793 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.003202, allocations: 104.6 kB / 0.8794 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.003249, allocations: 23.16 kB / 0.8795 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.003278, allocations: 12.78 kB / 0.8795 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.003286, allocations: 0 / 0.8795 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.00332, allocations: 52.53 kB / 0.8795 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.003321, allocations: 3.938 kB / 0.8795 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.003464, allocations: 33.69 kB / 0.8796 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.003505, allocations: 51.41 kB / 0.8796 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.003558, allocations: 142.2 kB / 0.8797 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.003571, allocations: 25.7 kB / 0.8798 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.003611, allocations: 126.9 kB / 0.8799 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.003645, allocations: 4.297 kB / 0.8799 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.003675, allocations: 20.69 kB / 0.8799 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.003849, allocations: 0.4883 MB / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.003862, allocations: 0 / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.003869, allocations: 5.562 kB / 0.8804 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.003908, allocations: 11.62 kB / 0.8804 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00391, allocations: 0 / 0.8804 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.815e-05/0.003968, allocations: 38.78 kB / 0.8804 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.003986, allocations: 4 kB / 0.8804 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.003992, allocations: 0 / 0.8804 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.004008, allocations: 1.594 kB / 0.8804 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.004074, allocations: 4 kB / 0.8804 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.004081, allocations: 4 kB / 0.8805 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.004093, allocations: 3.938 kB / 0.8805 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.004098, allocations: 4.219 kB / 0.8805 GB, free: 3.777 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 (1): * Single equations (assignments): 1 * 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.173e-05/0.00418, allocations: 156.6 kB / 0.8806 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-06/0.004185, allocations: 0 / 0.8806 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.004207, allocations: 10.98 kB / 0.8806 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.00421, allocations: 3.938 kB / 0.8806 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.004214, allocations: 0 / 0.8806 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.004217, allocations: 0 / 0.8806 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.26e-05/0.00429, allocations: 108.6 kB / 0.8807 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004291, allocations: 0 / 0.8807 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.004305, allocations: 4 kB / 0.8807 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.004308, allocations: 0 / 0.8807 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.004314, allocations: 4 kB / 0.8807 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.004315, allocations: 0 / 0.8807 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004316, allocations: 0 / 0.8807 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.056e-05/0.004396, allocations: 72.38 kB / 0.8808 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.004403, allocations: 4 kB / 0.8808 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.004413, allocations: 3.938 kB / 0.8808 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-06/0.004419, allocations: 0 / 0.8808 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.004437, allocations: 4 kB / 0.8808 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.004439, allocations: 0 / 0.8808 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.004479, allocations: 119.2 kB / 0.8809 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.004479, allocations: 7.969 kB / 0.8809 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002/0.004679, allocations: 0 / 0.8809 GB, free: 3.219 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 (1): * Single equations (assignments): 1 * 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 9.233e-05/0.004772, allocations: 103.2 kB / 0.881 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.004858, allocations: 11.69 kB / 0.881 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.00486, allocations: 0 / 0.881 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.004868, allocations: 7.688 kB / 0.8811 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.005012, allocations: 0 / 0.8811 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.005282, allocations: 88.97 kB / 0.8811 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.507e-05/0.005327, allocations: 59.34 kB / 0.8812 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.005341, allocations: 0 / 0.8812 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.005365, allocations: 8.5 kB / 0.8812 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.005365, allocations: 0 / 0.8812 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of Templates: time 0.002045/0.007411, allocations: 196.7 kB / 0.8814 GB, free: 2.688 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.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.236025349702686]