Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001661/0.001661, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002102/0.002102, allocations: 219 kB / 22.26 MB, free: 5.125 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [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.002106/0.002106, allocations: 65.56 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 169.9 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002194/0.3459, allocations: 0.7535 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3477, allocations: 1.184 MB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.3477, allocations: 4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.3478, allocations: 7.938 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.3479, allocations: 11.86 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.3484, allocations: 139.8 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3487, allocations: 119.8 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3488, allocations: 15.97 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3489, allocations: 47.91 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.349, allocations: 39.89 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.349, allocations: 16 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.3491, allocations: 31.91 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.3491, allocations: 11.94 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.3492, allocations: 43.84 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3494, allocations: 107.2 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3494, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.268e-06/0.3494, allocations: 4 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.3494, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 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.0006581/0.3501, allocations: 336.5 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3501, allocations: 12.03 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.3502, allocations: 38.73 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3502, allocations: 12.83 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3503, allocations: 118.4 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3504, allocations: 12.31 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3504, allocations: 4.375 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3506, allocations: 66.22 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3506, allocations: 3.938 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3506, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3506, allocations: 7.984 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3508, allocations: 43.95 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.3513, allocations: 303.8 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3515, allocations: 50.61 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3516, allocations: 36.97 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3516, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.3519, allocations: 95.38 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3519, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005103/0.3524, allocations: 141.8 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3525, allocations: 51.41 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3526, allocations: 125.8 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3526, allocations: 33.7 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.3527, allocations: 92.08 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3527, allocations: 15.88 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.3528, allocations: 37.7 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.353, allocations: 330.8 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3531, allocations: 51.97 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.3533, allocations: 84.25 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3536, allocations: 145.9 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3536, allocations: 0 / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004527/0.3541, allocations: 203.2 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.3541, allocations: 45.81 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3541, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3541, allocations: 4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.3542, allocations: 15.92 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3542, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3544, allocations: 43.84 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3545, allocations: 8 kB / 1.288 GB, free: 6.363 MB / 0.9825 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.0001149/0.3546, allocations: 127.2 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.3546, allocations: 7.953 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.3546, allocations: 12.36 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3546, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3546, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3546, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.3551, allocations: 345.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3551, allocations: 7.938 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.3552, allocations: 7.984 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3552, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3552, allocations: 8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3552, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3552, allocations: 3.938 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3555, allocations: 207.4 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.3555, allocations: 11.94 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3556, allocations: 7.938 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.3556, allocations: 4 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.3557, allocations: 11.92 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.3557, allocations: 4.062 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.3558, allocations: 95.27 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3558, allocations: 0 / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003456/0.3561, allocations: 27.94 kB / 1.289 GB, free: 5.414 MB / 0.9825 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.000654/0.3568, allocations: 0.7514 MB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.3572, allocations: 163.3 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3572, allocations: 0 / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3573, allocations: 35.97 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3576, allocations: 18.67 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.3598, allocations: 1.694 MB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3601, allocations: 0.6885 MB / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.3601, allocations: 7.984 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.3602, allocations: 19.44 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3602, allocations: 0 / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.3905, allocations: 2.693 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.07, allocations: 9.297 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable change.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.81039176900049]