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.0007895/0.0007895, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008568/0.0008568, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.136e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001361/0.001382, allocations: 0.7403 MB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.002377, allocations: 1.171 MB / 0.9524 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.002421, allocations: 4 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.002447, allocations: 7.938 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.002504, allocations: 15.86 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.002902, allocations: 131.8 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.00305, allocations: 115.8 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.003146, allocations: 15.92 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.003242, allocations: 67.88 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.00331, allocations: 31.94 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.00333, allocations: 12 kB / 0.9528 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.003381, allocations: 27.98 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.003402, allocations: 15.92 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.003444, allocations: 31.97 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003589, allocations: 131.6 kB / 0.953 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003591, allocations: 0 / 0.953 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003591, allocations: 0 / 0.953 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.003595, allocations: 0 / 0.953 GB, free: 0.9766 MB / 0.9011 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.0004116/0.004007, allocations: 339.7 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.004042, allocations: 12.03 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.392e-05/0.004066, allocations: 34.73 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.004097, allocations: 8.938 kB / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.833e-05/0.004166, allocations: 121.6 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004177, allocations: 8.375 kB / 0.9535 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004191, allocations: 8.375 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.004313, allocations: 62.22 kB / 0.9535 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.004319, allocations: 4.188 kB / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-06/0.004327, allocations: 384 / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.004332, allocations: 4.125 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.004428, allocations: 51.89 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.004811, allocations: 271.9 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.004929, allocations: 62.55 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.004981, allocations: 28.97 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.004991, allocations: 3.938 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.005146, allocations: 87.42 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005147, allocations: 4 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002652/0.005412, allocations: 145.5 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.005443, allocations: 55.41 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.005503, allocations: 117.8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.005522, allocations: 29.7 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.005569, allocations: 88.14 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005588, allocations: 31.77 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.005634, allocations: 37.7 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.005706, allocations: 322.8 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.005808, allocations: 77.67 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.005912, allocations: 117.9 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.006065, allocations: 146.2 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006067, allocations: 4 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002596/0.006327, allocations: 248.7 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.006355, allocations: 41.69 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00636, allocations: 0 / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006371, allocations: 4.062 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.006426, allocations: 15.98 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.00643, allocations: 0 / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.006537, allocations: 36.03 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.006552, allocations: 11.98 kB / 0.9555 GB, free: 14.12 MB / 0.9167 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 6.852e-05/0.00662, allocations: 123.9 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.006631, allocations: 11.89 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.006651, allocations: 8.438 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006652, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.006656, allocations: 3.938 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.00666, allocations: 7.984 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.006938, allocations: 345.5 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006939, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.006962, allocations: 7.984 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006964, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.006971, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006972, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006972, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.007125, allocations: 215.3 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.007132, allocations: 3.953 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.007144, allocations: 8 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.007187, allocations: 7.984 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.007219, allocations: 3.984 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.007227, allocations: 4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.007261, allocations: 95.27 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007261, allocations: 0 / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001789/0.00744, allocations: 20 kB / 0.9563 GB, free: 13.19 MB / 0.9167 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.0003699/0.00781, allocations: 0.7484 MB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.00805, allocations: 196.9 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008051, allocations: 3.938 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.008114, allocations: 31.98 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.008302, allocations: 19.05 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.009636, allocations: 1.822 MB / 0.9591 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.009685, allocations: 79.23 kB / 0.9591 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.00971, allocations: 7.859 kB / 0.9591 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.009747, allocations: 24.48 kB / 0.9592 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.009748, allocations: 4 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.02512, allocations: 3.338 MB / 0.9624 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.844, allocations: 7.234 kB / 0.9624 GB, free: 6.879 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.869620276615024]