Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.0009073/0.0009073, 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.001034/0.001034, allocations: 173 kB / 23.03 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.9996/0.9996, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.098/2.098, allocations: 429.5 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 1.094 kB / 0.8782 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.636e-05, allocations: 2.938 kB / 0.8782 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001535/0.001561, allocations: 0.6209 MB / 0.8788 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002568, allocations: 0.8608 MB / 0.8797 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.002602, allocations: 6.281 kB / 0.8797 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.002635, allocations: 0 / 0.8797 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.002696, allocations: 1.75 kB / 0.8797 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.002896, allocations: 21.72 kB / 0.8797 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.002972, allocations: 20.25 kB / 0.8797 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.00301, allocations: 1.344 kB / 0.8797 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.003164, allocations: 19.92 kB / 0.8797 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.003214, allocations: 4 kB / 0.8797 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003229, allocations: 0.8438 kB / 0.8797 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.003273, allocations: 11.94 kB / 0.8798 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.003284, allocations: 4.641 kB / 0.8798 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.003304, allocations: 4 kB / 0.8798 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.00346, allocations: 17.52 kB / 0.8798 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003463, allocations: 0 / 0.8798 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.114e-06/0.003465, allocations: 3.984 kB / 0.8798 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003469, allocations: 0 / 0.8798 GB, free: 3.543 MB / 0.7917 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.000311/0.00378, allocations: 362.2 kB / 0.8801 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.003815, allocations: 8.031 kB / 0.8801 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.003928, allocations: 8.938 kB / 0.8801 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.004015, allocations: 119.5 kB / 0.8803 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.004026, allocations: 384 / 0.8803 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.004033, allocations: 4.375 kB / 0.8803 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.004124, allocations: 46.95 kB / 0.8803 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.004133, allocations: 192 / 0.8803 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.004142, allocations: 384 / 0.8803 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.00415, allocations: 384 / 0.8803 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.499e-05/0.004165, allocations: 3.938 kB / 0.8803 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.004284, allocations: 121.3 kB / 0.8804 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.004332, allocations: 31.09 kB / 0.8805 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.004348, allocations: 9.031 kB / 0.8805 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.004359, allocations: 0 / 0.8805 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.004381, allocations: 37.39 kB / 0.8805 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.004382, allocations: 4 kB / 0.8805 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.004502, allocations: 41.67 kB / 0.8805 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.004531, allocations: 51.41 kB / 0.8806 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.004598, allocations: 165.9 kB / 0.8808 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.004606, allocations: 25.7 kB / 0.8808 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.004641, allocations: 134.8 kB / 0.8809 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.004662, allocations: 0 / 0.8809 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.004684, allocations: 19.38 kB / 0.8809 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.004788, allocations: 0.4883 MB / 0.8814 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.004799, allocations: 0 / 0.8814 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.004805, allocations: 4.125 kB / 0.8814 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.00483, allocations: 15.67 kB / 0.8814 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.004831, allocations: 0 / 0.8814 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.366e-05/0.004875, allocations: 33.66 kB / 0.8815 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.004886, allocations: 8 kB / 0.8815 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.004891, allocations: 0 / 0.8815 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.004903, allocations: 0 / 0.8815 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.004962, allocations: 7.938 kB / 0.8815 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.004968, allocations: 3.984 kB / 0.8815 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.004984, allocations: 12.03 kB / 0.8815 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.004989, allocations: 0 / 0.8815 GB, free: 1.598 MB / 0.7917 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 5.277e-05/0.005042, allocations: 156.6 kB / 0.8816 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-06/0.005046, allocations: 0 / 0.8816 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.005064, allocations: 3.156 kB / 0.8816 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005066, allocations: 0 / 0.8816 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.00507, allocations: 0 / 0.8816 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.005075, allocations: 7.938 kB / 0.8816 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.526e-05/0.00513, allocations: 112.6 kB / 0.8818 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005131, allocations: 0 / 0.8818 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.005142, allocations: 4 kB / 0.8818 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005144, allocations: 4 kB / 0.8818 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.00515, allocations: 0 / 0.8818 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005151, allocations: 0 / 0.8818 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005151, allocations: 0 / 0.8818 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.451e-05/0.005206, allocations: 76.31 kB / 0.8818 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.005217, allocations: 8.203 kB / 0.8818 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.005224, allocations: 0 / 0.8818 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.005235, allocations: 7.984 kB / 0.8818 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.005262, allocations: 4 kB / 0.8819 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.005265, allocations: 4 kB / 0.8819 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.005297, allocations: 127.2 kB / 0.882 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.005297, allocations: 0 / 0.882 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001105/0.005408, allocations: 3.938 kB / 0.882 GB, free: 1.02 MB / 0.7917 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 6.881e-05/0.005476, allocations: 99.23 kB / 0.8821 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.336e-05/0.00555, allocations: 15.62 kB / 0.8821 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005551, allocations: 0 / 0.8821 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.005562, allocations: 7.688 kB / 0.8821 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.005666, allocations: 10.06 kB / 0.8821 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.006033, allocations: 118.5 kB / 0.8822 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.762e-05/0.006061, allocations: 55.34 kB / 0.8823 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.491e-05/0.006076, allocations: 4 kB / 0.8823 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.0061, allocations: 8.5 kB / 0.8823 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of SimCode: time 3.81e-07/0.0061, allocations: 0 / 0.8823 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of Templates: time 0.00169/0.007789, allocations: 323.7 kB / 0.8826 GB, free: 336 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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.255468782037497]