Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 443.5 MB / 0.731 GB, free: 13.98 MB / 0.5762 GB [Timeout remaining time 87] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 1.06 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 160.7 MB / 1.217 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002029/0.3051, allocations: 0.7622 MB / 1.217 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3066, allocations: 1.152 MB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.3067, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.3067, allocations: 3.938 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.3068, allocations: 15.86 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.3074, allocations: 135.4 kB / 1.219 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3075, allocations: 111.8 kB / 1.219 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.3076, allocations: 23.91 kB / 1.219 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.3077, allocations: 43.91 kB / 1.219 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.3078, allocations: 47.86 kB / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3079, allocations: 8 kB / 1.219 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.3079, allocations: 23.98 kB / 1.219 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.3079, allocations: 15.88 kB / 1.219 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.308, allocations: 47.84 kB / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3082, allocations: 107.7 kB / 1.219 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3082, allocations: 7.984 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3082, allocations: 0 / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3082, allocations: 3.938 kB / 1.219 GB, free: 13.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006237/0.3088, allocations: 412.9 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3089, allocations: 8.031 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.3089, allocations: 8.891 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3091, allocations: 176.3 kB / 1.22 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3091, allocations: 4.375 kB / 1.22 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3091, allocations: 12.38 kB / 1.22 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3093, allocations: 62.16 kB / 1.22 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3093, allocations: 192 / 1.22 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3093, allocations: 11.88 kB / 1.22 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3093, allocations: 4 kB / 1.22 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3095, allocations: 39.94 kB / 1.22 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.31, allocations: 336.7 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3102, allocations: 62.48 kB / 1.22 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3103, allocations: 32.97 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3103, allocations: 8 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.3105, allocations: 83.36 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3105, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004437/0.3109, allocations: 137.5 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.311, allocations: 55.41 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3111, allocations: 121.8 kB / 1.221 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3111, allocations: 33.7 kB / 1.221 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.3112, allocations: 88.14 kB / 1.221 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3112, allocations: 27.91 kB / 1.221 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.3113, allocations: 37.7 kB / 1.221 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3114, allocations: 322.8 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3116, allocations: 47.97 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.3118, allocations: 92.19 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.3121, allocations: 142.1 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3121, allocations: 4 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004697/0.3125, allocations: 211.1 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.3126, allocations: 37.69 kB / 1.222 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3126, allocations: 4 kB / 1.222 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3126, allocations: 0 / 1.222 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.3127, allocations: 20.11 kB / 1.222 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3127, allocations: 7.938 kB / 1.222 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.3129, allocations: 35.89 kB / 1.222 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.3129, allocations: 4 kB / 1.222 GB, free: 10.1 MB / 0.9669 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.0001164/0.3131, allocations: 125.8 kB / 1.222 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3131, allocations: 7.953 kB / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3131, allocations: 12.36 kB / 1.222 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3131, allocations: 0 / 1.222 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3131, allocations: 4 kB / 1.222 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3131, allocations: 0 / 1.222 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.3136, allocations: 374.4 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3137, allocations: 0 / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.3137, allocations: 7.984 kB / 1.222 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3137, allocations: 8 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3137, allocations: 0 / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3137, allocations: 0 / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3137, allocations: 3.984 kB / 1.222 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3141, allocations: 219.3 kB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.3141, allocations: 85.06 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3141, allocations: 0 / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.3142, allocations: 11.98 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.3143, allocations: 8 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3143, allocations: 12 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.3143, allocations: 99.69 kB / 1.223 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3143, allocations: 0 / 1.223 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002795/0.3146, allocations: 23.94 kB / 1.223 GB, free: 9.016 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: 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.000204/0.3148, allocations: 111.2 kB / 1.223 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.3152, allocations: 163.3 kB / 1.223 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3152, allocations: 0 / 1.223 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3154, allocations: 35.92 kB / 1.223 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3156, allocations: 14.22 kB / 1.223 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.316, allocations: 192.5 kB / 1.223 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3164, allocations: 0.6906 MB / 1.224 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.3164, allocations: 11.44 kB / 1.224 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3164, allocations: 4 kB / 1.224 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of Templates: time 0.003086/0.3195, allocations: 1.264 MB / 1.225 GB, free: 6.473 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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