Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007732/0.0007732, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007906/0.0007906, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8471/0.8471, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.471e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001204/0.001229, allocations: 0.6911 MB / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.002051, allocations: 0.8899 MB / 0.9534 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.002086, allocations: 0 / 0.9534 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.002118, allocations: 7.938 kB / 0.9534 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.002178, allocations: 7.875 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.002338, allocations: 19.97 kB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.002415, allocations: 47.84 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.00252, allocations: 4 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.002595, allocations: 23.97 kB / 0.9535 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.002635, allocations: 19.92 kB / 0.9535 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.002661, allocations: 4 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.00267, allocations: 4 kB / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.002687, allocations: 7.984 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.002713, allocations: 15.98 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.943e-05/0.002803, allocations: 47.75 kB / 0.9536 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002805, allocations: 0 / 0.9536 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.002806, allocations: 0 / 0.9536 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.00281, allocations: 0 / 0.9536 GB, free: 1.117 MB / 0.9011 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.0003892/0.003199, allocations: 286.2 kB / 0.9538 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003237, allocations: 8.031 kB / 0.9538 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.003268, allocations: 4.938 kB / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.003351, allocations: 117.7 kB / 0.9539 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.003362, allocations: 4.375 kB / 0.954 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.003373, allocations: 4.375 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.003542, allocations: 70.2 kB / 0.954 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.003551, allocations: 8.125 kB / 0.954 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.003561, allocations: 384 / 0.954 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003566, allocations: 384 / 0.954 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.003713, allocations: 71.81 kB / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.003997, allocations: 216.5 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.004114, allocations: 50.55 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.004187, allocations: 36.91 kB / 0.9544 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.00421, allocations: 7.938 kB / 0.9544 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.00423, allocations: 34.5 kB / 0.9544 GB, free: 104 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.004232, allocations: 7.984 kB / 0.9544 GB, free: 96 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003192/0.004551, allocations: 129.5 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.004581, allocations: 51.41 kB / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.004644, allocations: 109.8 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004655, allocations: 25.7 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.00469, allocations: 88.14 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.004707, allocations: 11.91 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.004814, allocations: 21.72 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.004885, allocations: 314.8 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.004956, allocations: 27.97 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.005021, allocations: 35.95 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.005153, allocations: 72.73 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005155, allocations: 0 / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000155/0.00531, allocations: 97.61 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005322, allocations: 7.938 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005326, allocations: 0 / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.005337, allocations: 0 / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.005414, allocations: 23.98 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005419, allocations: 0 / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.005453, allocations: 11.98 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.00546, allocations: 0 / 0.9554 GB, free: 15.02 MB / 0.9167 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 5.072e-05/0.005511, allocations: 109.8 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.005523, allocations: 7.953 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.005551, allocations: 15.88 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005553, allocations: 0 / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.005556, allocations: 4 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005558, allocations: 4 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.991e-05/0.005648, allocations: 105.3 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005649, allocations: 4 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.005689, allocations: 11.98 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.00569, allocations: 0 / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.005697, allocations: 3.984 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005699, allocations: 7.938 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005699, allocations: 3.938 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.005882, allocations: 195.4 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.005891, allocations: 7.953 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.005902, allocations: 0 / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.005953, allocations: 23.91 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.00599, allocations: 4 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005993, allocations: 0 / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.006022, allocations: 95.5 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006022, allocations: 0 / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001449/0.006167, allocations: 16 kB / 0.956 GB, free: 14.35 MB / 0.9167 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 7.5e-05/0.006242, allocations: 95.19 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.006421, allocations: 68.3 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006423, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.006495, allocations: 39.95 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.006691, allocations: 4 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.00696, allocations: 147.2 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.007006, allocations: 71.27 kB / 0.9564 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.007037, allocations: 12.5 kB / 0.9564 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.007037, allocations: 0 / 0.9564 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of Templates: time 0.001502/0.008539, allocations: 0.7758 MB / 0.9572 GB, free: 13.1 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.172358834184706]