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.001627/0.001627, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001967/0.001967, allocations: 221.3 kB / 23 MB, free: 4.91 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.209/3.209, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.002077/0.002077, allocations: 66.59 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002232/0.3332, allocations: 0.73 MB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3351, allocations: 1.178 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.3352, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.3352, allocations: 7.938 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3353, allocations: 11.86 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.3361, allocations: 135.1 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3363, allocations: 111.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3364, allocations: 15.98 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3366, allocations: 47.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3367, allocations: 43.81 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3367, allocations: 12 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.3368, allocations: 19.98 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3368, allocations: 15.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.3369, allocations: 39.91 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3371, allocations: 107.6 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3371, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3371, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3371, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 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.0006897/0.3378, allocations: 343.7 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3379, allocations: 8.031 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.3379, allocations: 8.891 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3381, allocations: 130.3 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3381, allocations: 384 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3381, allocations: 8.375 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3383, allocations: 62.23 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3384, allocations: 192 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3384, allocations: 7.922 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3384, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.3386, allocations: 43.91 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.3391, allocations: 248.5 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3393, allocations: 58.61 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3394, allocations: 32.91 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3395, allocations: 7.984 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.3397, allocations: 103.2 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.3397, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004598/0.3402, allocations: 137.6 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3402, allocations: 51.41 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3404, allocations: 121.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3404, allocations: 33.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.3405, allocations: 104 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3405, allocations: 15.84 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.3406, allocations: 37.7 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3407, allocations: 318.8 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3409, allocations: 81.66 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3411, allocations: 122 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3414, allocations: 146.2 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3414, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004915/0.3419, allocations: 244.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.342, allocations: 41.69 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.342, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.342, allocations: 8.125 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.3421, allocations: 7.984 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3421, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.3423, allocations: 39.91 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3423, allocations: 8 kB / 1.331 GB, free: 12.59 MB / 1.029 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 0.0001399/0.3425, allocations: 124.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.3425, allocations: 7.953 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.3425, allocations: 20.36 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3425, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3425, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3425, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.3431, allocations: 322 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3431, allocations: 4.062 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3431, allocations: 11.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3431, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3431, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3431, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3431, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.3435, allocations: 211.4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.3435, allocations: 11.89 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3435, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.3436, allocations: 7.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.3437, allocations: 11.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3437, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.3437, allocations: 95.27 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3437, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002775/0.344, allocations: 20 kB / 1.332 GB, free: 11.68 MB / 1.029 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.0001975/0.3442, allocations: 99.25 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3447, allocations: 200.9 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3447, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3448, allocations: 36.23 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3451, allocations: 19.92 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.3455, allocations: 188.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.657e-05/0.3456, allocations: 71.33 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.3456, allocations: 11.44 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/0.3456, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of Templates: time 0.00366/0.3493, allocations: 1.29 MB / 1.334 GB, free: 9.707 MB / 1.029 GB " [Timeout remaining time 300] 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.004794486798346]