Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001194/0.001194, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00202/0.003214, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00112/0.00112, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002693, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9781/0.9781, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.079, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.946/1.946, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.555/2.501, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.7294 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.954e-05, allocations: 4.703 kB / 0.7294 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002243/0.002272, allocations: 0.7563 MB / 0.7301 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004218/0.006491, allocations: 0.9186 MB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.006532, allocations: 0 / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.00656, allocations: 3.938 kB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.006615, allocations: 17.84 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.006742, allocations: 15.92 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.006844, allocations: 43.53 kB / 0.7311 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.006944, allocations: 12.62 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.007067, allocations: 34.5 kB / 0.7312 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.007131, allocations: 13.3 kB / 0.7312 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.007161, allocations: 4 kB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.007173, allocations: 4.5 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.007197, allocations: 6.078 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.007229, allocations: 11.16 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.007336, allocations: 26.75 kB / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.249e-05/0.007359, allocations: 0 / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.00736, allocations: 0.5312 kB / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.007383, allocations: 0 / 0.7312 GB, free: 2.617 MB / 0.698 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.0004922/0.007875, allocations: 257.4 kB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.007919, allocations: 12.03 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.00796, allocations: 6.406 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.008074, allocations: 118.6 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.008086, allocations: 4.375 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.008095, allocations: 1.625 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.008257, allocations: 70.92 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.008265, allocations: 192 / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.008274, allocations: 1.219 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.00828, allocations: 384 / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.008313, allocations: 16.38 kB / 0.7317 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.008575, allocations: 148.4 kB / 0.7318 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.008648, allocations: 24.3 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.008672, allocations: 12.86 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.008697, allocations: 3.984 kB / 0.7319 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.008727, allocations: 39.39 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.008728, allocations: 0 / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001536/0.008882, allocations: 45.62 kB / 0.7319 GB, free: 1.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003044/0.01193, allocations: 52.72 kB / 0.732 GB, free: 1.715 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.01205, allocations: 122.7 kB / 0.7321 GB, free: 1.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01206, allocations: 25.7 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.01209, allocations: 84.84 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.01212, allocations: 11.89 kB / 0.7322 GB, free: 1.453 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.01215, allocations: 11.22 kB / 0.7322 GB, free: 1.438 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.01223, allocations: 322.8 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.01224, allocations: 0 / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.01225, allocations: 7.938 kB / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.01229, allocations: 17.72 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01229, allocations: 0 / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.25e-05/0.01236, allocations: 42.56 kB / 0.7326 GB, free: 1.039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01238, allocations: 4 kB / 0.7326 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01238, allocations: 0 / 0.7326 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01239, allocations: 9.688 kB / 0.7326 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.01249, allocations: 8 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01249, allocations: 3.984 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.01252, allocations: 4 kB / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01252, allocations: 0.5 kB / 0.7326 GB, free: 1.012 MB / 0.698 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.523e-05/0.01258, allocations: 110.9 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.0126, allocations: 4 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.01263, allocations: 12.58 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01263, allocations: 7.938 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01263, allocations: 1.125 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01264, allocations: 0 / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.01275, allocations: 69.88 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01275, allocations: 4.719 kB / 0.7328 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.01278, allocations: 11.94 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-06/0.01279, allocations: 5.109 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01279, allocations: 3.984 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.0128, allocations: 0 / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.0128, allocations: 5.25 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01281, allocations: 3.938 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.974e-05/0.01291, allocations: 139.5 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.01292, allocations: 1.031 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.01298, allocations: 4 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.01301, allocations: 4.516 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01302, allocations: 3.938 kB / 0.733 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.861e-05/0.01303, allocations: 22.45 kB / 0.733 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01303, allocations: 0 / 0.733 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001941/0.01323, allocations: 8 kB / 0.7331 GB, free: 0.5547 MB / 0.698 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 8.468e-05/0.01331, allocations: 78.02 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.0134, allocations: 20.83 kB / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.413e-06/0.0134, allocations: 0 / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.01343, allocations: 17.42 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.01363, allocations: 16.72 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.0141, allocations: 130.1 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.01414, allocations: 55.34 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.01416, allocations: 5.375 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.01422, allocations: 51.38 kB / 0.7334 GB, free: 136 kB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/0.01422, allocations: 0 / 0.7334 GB, free: 136 kB / 0.698 GB Notification: Performance of Templates: time 0.006058/0.02028, allocations: 0.7472 MB / 0.7341 GB, free: 15.43 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.ref.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.100691779516637]