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.001584/0.001584, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001902/0.001902, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.236/3.236, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_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.002025/0.002025, allocations: 65.12 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002123/0.3618, allocations: 0.7427 MB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3634, allocations: 1.183 MB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.3635, allocations: 0 / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.3635, allocations: 3.938 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/0.3636, allocations: 15.86 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.3642, allocations: 134.4 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3644, allocations: 115.8 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3645, allocations: 15.98 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3646, allocations: 47.84 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3648, allocations: 47.81 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3648, allocations: 12 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.3649, allocations: 23.98 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.3649, allocations: 11.98 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.365, allocations: 39.84 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3652, allocations: 115.9 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3652, allocations: 0 / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3652, allocations: 0 / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3652, allocations: 4 kB / 1.323 GB, free: 0.8711 MB / 1.014 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.0007489/0.366, allocations: 412.9 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.366, allocations: 11.98 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.3661, allocations: 38.73 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.3661, allocations: 12.89 kB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3663, allocations: 180.1 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3663, allocations: 8.375 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.3663, allocations: 8.375 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3665, allocations: 66.22 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3665, allocations: 7.875 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3666, allocations: 4 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3666, allocations: 0 / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.3668, allocations: 43.95 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.3674, allocations: 336.6 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3676, allocations: 58.61 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3677, allocations: 28.97 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3677, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.3679, allocations: 95.25 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3679, allocations: 0 / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000474/0.3684, allocations: 133.6 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3684, allocations: 59.39 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3685, allocations: 117.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3686, allocations: 33.7 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3686, allocations: 92.22 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3687, allocations: 23.88 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.3687, allocations: 37.7 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3689, allocations: 322.8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.3691, allocations: 47.97 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3693, allocations: 92.94 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.3696, allocations: 141.9 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3696, allocations: 0 / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004687/0.3701, allocations: 207.2 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.3701, allocations: 33.69 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3701, allocations: 7.938 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3701, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3702, allocations: 19.92 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3702, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3705, allocations: 43.97 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3705, allocations: 4 kB / 1.326 GB, free: 13.9 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.0001168/0.3706, allocations: 125.8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.3706, allocations: 7.953 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.3706, allocations: 8.359 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3706, allocations: 4 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3707, allocations: 3.938 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3707, allocations: 4 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.3712, allocations: 374.5 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3712, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.3712, allocations: 8 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3712, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3712, allocations: 7.922 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3712, allocations: 4.062 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3712, allocations: 3.938 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.3716, allocations: 219.4 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.3717, allocations: 81.06 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3717, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.3718, allocations: 7.984 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.3718, allocations: 7.938 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3718, allocations: 12 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.512e-05/0.3719, allocations: 91.27 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3719, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002573/0.3721, allocations: 23.94 kB / 1.327 GB, free: 12.82 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.0007516/0.3729, allocations: 0.7514 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.3733, allocations: 159.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3733, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3734, allocations: 35.91 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3737, allocations: 20.28 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.376, allocations: 1.7 MB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3763, allocations: 0.6846 MB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.3763, allocations: 7.984 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.3764, allocations: 19.44 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3764, allocations: 0 / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.4024, allocations: 2.565 MB / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.4, allocations: 22.14 kB / 1.333 GB, free: 6.785 MB / 1.029 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/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] "Error: Could not read variable change.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.234806888038293]