Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001361/0.001361, allocations: 116.3 kB / 17.13 MB, free: 6.027 MB / 14.72 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.001438/0.001438, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.963/2.963, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9199/0.9219, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002299/0.9242, allocations: 0.7365 MB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.9259, allocations: 1.186 MB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.926, allocations: 6.781 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.926, allocations: 3.938 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.9261, allocations: 15.11 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.9267, allocations: 143.1 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.9269, allocations: 113.3 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.927, allocations: 12.89 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.9271, allocations: 45.7 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.9272, allocations: 44.22 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.9273, allocations: 14.97 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.352e-05/0.9273, allocations: 29.17 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.9274, allocations: 13.69 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.9274, allocations: 45.64 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.9276, allocations: 109.4 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9277, allocations: 0 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9277, allocations: 0 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9277, allocations: 0 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006049/0.9283, allocations: 407.2 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9283, allocations: 19.39 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.9284, allocations: 10.23 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.9285, allocations: 190 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.9285, allocations: 2.875 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.9285, allocations: 8.688 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.9287, allocations: 65.77 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.9287, allocations: 192 / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9288, allocations: 3.938 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9288, allocations: 0 / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.929, allocations: 53.28 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.9295, allocations: 321.8 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.9297, allocations: 61.11 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.9298, allocations: 32.52 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.9298, allocations: 2.5 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.9301, allocations: 89.36 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.9301, allocations: 0 / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005479/0.9306, allocations: 148.6 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.9307, allocations: 51.41 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.9308, allocations: 122.1 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.9308, allocations: 32.45 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.9308, allocations: 89.89 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.9309, allocations: 25.81 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.9309, allocations: 30.53 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.931, allocations: 321.2 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.9312, allocations: 58.11 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.9314, allocations: 83.05 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.9317, allocations: 146.5 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9317, allocations: 0 / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005292/0.9322, allocations: 218.7 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.9323, allocations: 34.33 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.9323, allocations: 4 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.9323, allocations: 2.906 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.9324, allocations: 15.77 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9324, allocations: 3.328 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.9327, allocations: 37.75 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.9327, allocations: 12.62 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.514e-05/0.9328, allocations: 127.2 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.9328, allocations: 6.984 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.9328, allocations: 8.375 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9328, allocations: 2.969 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9328, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9328, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.9333, allocations: 377.1 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9333, allocations: 6.656 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.9334, allocations: 9.172 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.9334, allocations: 0 / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.9334, allocations: 4 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9334, allocations: 0 / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9334, allocations: 6.297 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.9338, allocations: 207.9 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.9338, allocations: 83.12 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.9338, allocations: 9.094 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.934, allocations: 3.688 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.934, allocations: 6.906 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.934, allocations: 6.312 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.9341, allocations: 91.16 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9341, allocations: 0 / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000406/0.9345, allocations: 24 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002071/0.9347, allocations: 110.8 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.9352, allocations: 169.8 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9352, allocations: 4.5 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.9354, allocations: 36.42 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.9358, allocations: 27.41 kB / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.9363, allocations: 192.3 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.9364, allocations: 0.6871 MB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.9364, allocations: 12.12 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.9364, allocations: 0 / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of Templates: time 0.004327/0.9408, allocations: 1.26 MB / 1.33 GB, free: 19.27 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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: 11.428722974000266]