Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001035/0.001035, 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.001026/0.001026, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 1/1, allocations: 177.2 MB / 203.4 MB, free: 5.625 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.144/2.144, allocations: 429.5 MB / 0.6733 GB, free: 3.977 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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8782 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.75e-05, allocations: 2.875 kB / 0.8782 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00177/0.001797, allocations: 0.7208 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.00295, allocations: 0.9153 MB / 0.8798 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.00299, allocations: 0 / 0.8798 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.003024, allocations: 5.844 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.003104, allocations: 6.891 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.003302, allocations: 19.97 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.003404, allocations: 51.84 kB / 0.8799 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.003525, allocations: 5.531 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.003642, allocations: 31.91 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.003692, allocations: 11.98 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.003718, allocations: 4 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.003731, allocations: 7.938 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.003753, allocations: 14.39 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.003783, allocations: 15.98 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.538e-05/0.003878, allocations: 23.91 kB / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003881, allocations: 0 / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003882, allocations: 0 / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.003887, allocations: 4 kB / 0.88 GB, free: 4.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000457/0.004344, allocations: 374.6 kB / 0.8804 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.004394, allocations: 12.03 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.004444, allocations: 4.938 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.004546, allocations: 116.5 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.00456, allocations: 4.375 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004571, allocations: 1.094 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.004759, allocations: 68.59 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.004773, allocations: 12.11 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.004784, allocations: 384 / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.004793, allocations: 384 / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.004835, allocations: 7.938 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.00521, allocations: 261 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.005298, allocations: 39.05 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.005329, allocations: 15.69 kB / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.005348, allocations: 3.938 kB / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.005372, allocations: 33.39 kB / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.005373, allocations: 0 / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000189/0.005562, allocations: 57.67 kB / 0.881 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.005595, allocations: 51.41 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.005687, allocations: 165.9 kB / 0.8812 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005699, allocations: 25.7 kB / 0.8812 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.005751, allocations: 134.9 kB / 0.8814 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.005773, allocations: 11.84 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.005812, allocations: 27.36 kB / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.00593, allocations: 496.1 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.005954, allocations: 11.94 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.005971, allocations: 4 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.006015, allocations: 23.94 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006018, allocations: 0 / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.132e-05/0.006099, allocations: 41.7 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.006114, allocations: 7.938 kB / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.006121, allocations: 3.984 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.006137, allocations: 3.938 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.006233, allocations: 8 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.006239, allocations: 4 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.006272, allocations: 11.92 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006279, allocations: 4 kB / 0.882 GB, free: 2.176 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 (3): * Single equations (assignments): 3 * 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.766e-05/0.006347, allocations: 156.6 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.006371, allocations: 7.953 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.0064, allocations: 7.938 kB / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006402, allocations: 0 / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006406, allocations: 0 / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006409, allocations: 0 / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.006532, allocations: 120.6 kB / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.006534, allocations: 7.984 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.006579, allocations: 12 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.006581, allocations: 0 / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006589, allocations: 0 / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.006592, allocations: 7.938 kB / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006593, allocations: 0 / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.006766, allocations: 191.9 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.006773, allocations: 3.953 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.006786, allocations: 7.984 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.006846, allocations: 7.938 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.006888, allocations: 7.984 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.006894, allocations: 4 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.006938, allocations: 127.2 kB / 0.8826 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006938, allocations: 0 / 0.8826 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003258/0.007264, allocations: 8 kB / 0.8826 GB, free: 1.445 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 (3): * Single equations (assignments): 3 * 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.081e-05/0.007355, allocations: 95.23 kB / 0.8827 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.007472, allocations: 19.69 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007473, allocations: 0 / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.00751, allocations: 23.61 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.007831, allocations: 12 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.008149, allocations: 126.3 kB / 0.8829 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.008193, allocations: 55.36 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.008215, allocations: 0 / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.008252, allocations: 16.44 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.008253, allocations: 0 / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of Templates: time 0.002704/0.01096, allocations: 0.8547 MB / 0.8838 GB, free: 196 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.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.287300236988813]