Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001726/0.001726, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002094/0.002094, allocations: 210.4 kB / 22.24 MB, free: 5.262 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.368/3.368, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_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.002108/0.002108, allocations: 75.81 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3784, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002335/0.3808, allocations: 0.7247 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3827, allocations: 1.168 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.3828, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.3828, allocations: 7.922 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.3829, allocations: 11.92 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.3836, allocations: 137.6 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.3838, allocations: 119.8 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3839, allocations: 15.98 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.3841, allocations: 47.91 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3842, allocations: 43.81 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.3843, allocations: 12 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.3844, allocations: 19.98 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.3844, allocations: 7.984 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.3845, allocations: 35.86 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3847, allocations: 119.9 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3847, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3847, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3848, allocations: 3.938 kB / 1.366 GB, free: 11.57 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.0008106/0.3856, allocations: 335.8 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3856, allocations: 12.03 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.3857, allocations: 38.69 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.3857, allocations: 8.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3859, allocations: 114.4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3859, allocations: 4.375 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3859, allocations: 16.36 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.3862, allocations: 62.17 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3862, allocations: 7.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3862, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3862, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.3864, allocations: 39.95 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.387, allocations: 287.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3873, allocations: 54.61 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3874, allocations: 36.97 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3874, allocations: 3.984 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.3877, allocations: 83.31 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.3877, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005177/0.3882, allocations: 145.8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.3883, allocations: 55.41 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3884, allocations: 113.8 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3885, allocations: 33.7 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.3885, allocations: 96.08 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3886, allocations: 23.91 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.3887, allocations: 41.64 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3888, allocations: 322.8 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.389, allocations: 89.59 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3893, allocations: 114 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.3896, allocations: 150 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3896, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005402/0.3901, allocations: 240.8 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.3902, allocations: 37.7 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3902, allocations: 4.125 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.285e-05/0.3903, allocations: 4 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3904, allocations: 11.98 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3904, allocations: 0 / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.3906, allocations: 31.95 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.3906, allocations: 8 kB / 1.368 GB, free: 8.723 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 0.0001754/0.3908, allocations: 131.6 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.3908, allocations: 11.95 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.3909, allocations: 12.36 kB / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3909, allocations: 0 / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3909, allocations: 0 / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3909, allocations: 0 / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006335/0.3915, allocations: 345.5 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3915, allocations: 0 / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.3916, allocations: 7.984 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3916, allocations: 4 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3916, allocations: 4.062 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3916, allocations: 7.938 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3916, allocations: 0 / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.392, allocations: 211.4 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.392, allocations: 11.88 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3921, allocations: 7.984 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.3922, allocations: 4 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.3922, allocations: 11.92 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3922, allocations: 4 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.763e-05/0.3923, allocations: 103.1 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3923, allocations: 0 / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002923/0.3926, allocations: 20 kB / 1.369 GB, free: 7.766 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.0009288/0.3935, allocations: 0.7437 MB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.394, allocations: 193 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.394, allocations: 0 / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3941, allocations: 39.91 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3944, allocations: 14.52 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3971, allocations: 1.817 MB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.738e-05/0.3972, allocations: 75.19 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.3973, allocations: 7.938 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.3973, allocations: 19.42 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/0.3973, allocations: 0 / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.4318, allocations: 3.218 MB / 1.375 GB, free: 1.602 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 9.781 kB / 1.375 GB, free: 1.594 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.0243921270594]