Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 190.8 kB / 20.78 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 443.5 MB / 0.7304 GB, free: 13.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.89 kB / 1.059 GB, free: 252 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3866, allocations: 160.7 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002675/0.3893, allocations: 0.7206 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3908, allocations: 0.8779 MB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.3908, allocations: 0 / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.3909, allocations: 3.938 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.391, allocations: 7.938 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3912, allocations: 11.98 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.3914, allocations: 55.83 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3915, allocations: 4 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.3916, allocations: 23.92 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.3917, allocations: 19.91 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3917, allocations: 4 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.3917, allocations: 4 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3917, allocations: 4 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.3918, allocations: 23.86 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3919, allocations: 43.8 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3919, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.11e-06/0.3919, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.3919, allocations: 4 kB / 1.218 GB, free: 13.41 MB / 0.9669 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.0007828/0.3927, allocations: 359.3 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3928, allocations: 12.03 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.3928, allocations: 4.891 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.393, allocations: 180.2 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.393, allocations: 384 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.393, allocations: 4.375 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3933, allocations: 70.16 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3933, allocations: 8.125 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3933, allocations: 3.938 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3933, allocations: 0 / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.3936, allocations: 63.92 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.3941, allocations: 272.9 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3943, allocations: 58.47 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3944, allocations: 36.92 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.3945, allocations: 0 / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3945, allocations: 30.56 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3945, allocations: 4 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005455/0.395, allocations: 137.5 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3951, allocations: 51.41 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3952, allocations: 109.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3952, allocations: 25.7 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.3953, allocations: 88.14 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.3953, allocations: 11.91 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3953, allocations: 13.7 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3955, allocations: 318.8 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3956, allocations: 27.97 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3958, allocations: 35.95 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.396, allocations: 68.78 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.396, allocations: 3.938 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.3963, allocations: 101.6 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3964, allocations: 4 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3964, allocations: 4 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3964, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3965, allocations: 11.98 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3965, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.3966, allocations: 15.97 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.3966, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 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 0.000109/0.3967, allocations: 121.8 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3967, allocations: 3.953 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.3968, allocations: 11.91 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3968, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3968, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3968, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.397, allocations: 177.5 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.397, allocations: 4 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.3971, allocations: 15.98 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3971, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3971, allocations: 8 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3971, allocations: 3.938 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3971, allocations: 3.938 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.3975, allocations: 191.4 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.3975, allocations: 89 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3975, allocations: 4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3977, allocations: 15.98 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.3977, allocations: 3.984 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3977, allocations: 4 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.706e-05/0.3978, allocations: 83.28 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5e-08/0.3978, allocations: 0 / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002161/0.398, allocations: 8 kB / 1.221 GB, free: 10.25 MB / 0.9669 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 0.0001709/0.3982, allocations: 103.2 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.3985, allocations: 71.86 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3985, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3987, allocations: 32.44 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.3991, allocations: 19.92 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.3995, allocations: 137.4 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3998, allocations: 0.6807 MB / 1.222 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.3999, allocations: 4 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3999, allocations: 11.44 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3999, allocations: 0 / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of Templates: time 0.003479/0.4034, allocations: 0.7406 MB / 1.222 GB, free: 8.406 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.742340697906911]