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.001299/0.001299, 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.001481/0.001481, allocations: 216.2 kB / 22.25 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.98 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.27/3.27, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002011/0.002011, allocations: 66.66 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002434/0.3726, allocations: 0.7502 MB / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3745, allocations: 1.186 MB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.3746, allocations: 0 / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.3746, allocations: 11.81 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.3747, allocations: 7.938 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3753, allocations: 137.9 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.3755, allocations: 119.8 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3756, allocations: 8 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3757, allocations: 55.83 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3758, allocations: 47.81 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3758, allocations: 8 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.3759, allocations: 27.98 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.3759, allocations: 7.984 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.376, allocations: 43.84 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3762, allocations: 111.9 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3762, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3762, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3762, allocations: 4 kB / 1.355 GB, free: 5.914 MB / 1.045 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.000658/0.3769, allocations: 335.8 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.377, allocations: 12.03 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.377, allocations: 38.75 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.377, allocations: 12.88 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3772, allocations: 118.4 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3772, allocations: 4.375 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3772, allocations: 8.375 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3774, allocations: 70.2 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3774, allocations: 3.938 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3774, allocations: 7.938 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3774, allocations: 0 / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3776, allocations: 43.95 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.3782, allocations: 299.7 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3784, allocations: 58.61 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3785, allocations: 32.95 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3785, allocations: 4 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.3788, allocations: 91.3 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3788, allocations: 0 / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004552/0.3793, allocations: 137.6 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3793, allocations: 55.41 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3794, allocations: 117.8 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.3795, allocations: 33.7 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.3796, allocations: 96.08 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3796, allocations: 23.8 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.3797, allocations: 41.69 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3798, allocations: 318.8 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.38, allocations: 55.95 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.3802, allocations: 92.19 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3805, allocations: 138.2 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3805, allocations: 0 / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004548/0.3809, allocations: 219.2 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.381, allocations: 33.69 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.381, allocations: 4 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.381, allocations: 0 / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.3811, allocations: 11.94 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3811, allocations: 7.984 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3813, allocations: 36.09 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3813, allocations: 11.92 kB / 1.358 GB, free: 3.141 MB / 1.045 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.000115/0.3814, allocations: 125.7 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.3815, allocations: 11.95 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.3815, allocations: 8.312 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3815, allocations: 4 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3815, allocations: 0 / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3815, allocations: 4 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.382, allocations: 345.5 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.382, allocations: 0 / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.382, allocations: 19.98 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.382, allocations: 3.984 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3821, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3821, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3821, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3824, allocations: 219.4 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3824, allocations: 7.891 kB / 1.358 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3824, allocations: 4 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.3825, allocations: 7.984 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.3825, allocations: 11.92 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3825, allocations: 8 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.3826, allocations: 91.27 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3826, allocations: 0 / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002555/0.3828, allocations: 20 kB / 1.359 GB, free: 2.191 MB / 1.045 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.0006596/0.3835, allocations: 0.754 MB / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.3839, allocations: 155.3 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3839, allocations: 3.938 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.384, allocations: 35.91 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3843, allocations: 26.61 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3865, allocations: 1.684 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3868, allocations: 0.6885 MB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.3868, allocations: 4 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.3869, allocations: 23.42 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3869, allocations: 0 / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.4186, allocations: 2.701 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.08, allocations: 9.812 kB / 1.365 GB, free: 12.08 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.051397092000116]