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.002416/0.002416, allocations: 111 kB / 16.46 MB, free: 6.453 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.002273/0.002273, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.557/1.557, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.87/2.87, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] 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.003016/0.003016, allocations: 67.91 kB / 1.112 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8355, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002092/0.8376, allocations: 0.7456 MB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.8391, allocations: 1.192 MB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.8392, allocations: 0 / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.8392, allocations: 3.938 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-05/0.8393, allocations: 15.84 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.8398, allocations: 132.1 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.84, allocations: 115.8 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.8401, allocations: 8 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.8402, allocations: 55.89 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.8403, allocations: 47.75 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.8403, allocations: 12 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.8404, allocations: 27.98 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.8404, allocations: 11.98 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.8405, allocations: 39.84 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.8407, allocations: 113.4 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8407, allocations: 0 / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8407, allocations: 4 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8407, allocations: 4 kB / 1.281 GB, free: 10.91 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.0006681/0.8413, allocations: 412.9 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8414, allocations: 8.031 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.8414, allocations: 38.75 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.8415, allocations: 12.89 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8416, allocations: 180.2 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.8416, allocations: 4.312 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.8417, allocations: 12.38 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8419, allocations: 58.23 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.8419, allocations: 7.938 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8419, allocations: 3.984 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8419, allocations: 3.938 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.8421, allocations: 39.97 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.8426, allocations: 336.6 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.8428, allocations: 54.61 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.8429, allocations: 36.95 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.8429, allocations: 0 / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.8431, allocations: 95.36 kB / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.8431, allocations: 0 / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004622/0.8436, allocations: 133.6 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.8437, allocations: 55.41 kB / 1.282 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8438, allocations: 121.7 kB / 1.282 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.8438, allocations: 37.7 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.8439, allocations: 92.12 kB / 1.282 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.8439, allocations: 15.91 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.844, allocations: 41.69 kB / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8441, allocations: 318.8 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.8443, allocations: 51.95 kB / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.8445, allocations: 92.19 kB / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.8448, allocations: 141.9 kB / 1.283 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8448, allocations: 4 kB / 1.283 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004737/0.8452, allocations: 207.2 kB / 1.283 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.8453, allocations: 33.7 kB / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.8453, allocations: 0 / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.8453, allocations: 3.938 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.8454, allocations: 15.92 kB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8454, allocations: 4 kB / 1.283 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.8456, allocations: 44.03 kB / 1.283 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.8456, allocations: 4 kB / 1.283 GB, free: 7.957 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.0001071/0.8457, allocations: 129.7 kB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.8458, allocations: 7.953 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.8458, allocations: 12.36 kB / 1.283 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8458, allocations: 4 kB / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8458, allocations: 4 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.8458, allocations: 3.938 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.8463, allocations: 374.5 kB / 1.284 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8463, allocations: 0 / 1.284 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.8464, allocations: 12.05 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8464, allocations: 4 kB / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.8464, allocations: 0 / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8464, allocations: 7.938 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8464, allocations: 0 / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.8467, allocations: 211.8 kB / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.8467, allocations: 89 kB / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.8468, allocations: 0 / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.8468, allocations: 7.984 kB / 1.284 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.8469, allocations: 15.92 kB / 1.284 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.8469, allocations: 8 kB / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.847, allocations: 91.27 kB / 1.284 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.847, allocations: 0 / 1.284 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002581/0.8472, allocations: 20 kB / 1.284 GB, free: 6.867 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.0007174/0.8479, allocations: 0.7519 MB / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.8483, allocations: 163.3 kB / 1.285 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8483, allocations: 0 / 1.285 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8485, allocations: 31.97 kB / 1.285 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.8488, allocations: 34.28 kB / 1.285 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.851, allocations: 1.681 MB / 1.287 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.8513, allocations: 0.6885 MB / 1.288 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.8513, allocations: 4 kB / 1.288 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.8514, allocations: 23.42 kB / 1.288 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8514, allocations: 8 kB / 1.288 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.8779, allocations: 2.571 MB / 1.29 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.239, allocations: 8.766 kB / 1.29 GB, free: 0.8359 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.619314202107489]