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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001833/0.001833, allocations: 63.89 kB / 1.107 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7327, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001615/0.7344, allocations: 0.7526 MB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.7354, allocations: 1.155 MB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.7354, allocations: 0.8438 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.7355, allocations: 5.359 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.7355, allocations: 13.97 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.7359, allocations: 141.5 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.7361, allocations: 115 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.7361, allocations: 14.17 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.7362, allocations: 48.31 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.7363, allocations: 46.3 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.7363, allocations: 10.09 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.7364, allocations: 35.84 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.7364, allocations: 9.484 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.7365, allocations: 42.75 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.7366, allocations: 119 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7366, allocations: 0 / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7366, allocations: 0 / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7366, allocations: 0.8438 kB / 1.274 GB, free: 6.176 MB / 0.9981 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.0004204/0.737, allocations: 411.7 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.7371, allocations: 11.98 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.069e-05/0.7371, allocations: 36.41 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.7371, allocations: 10.59 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.921e-05/0.7372, allocations: 178.2 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.7372, allocations: 3.125 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.7372, allocations: 7.625 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7374, allocations: 66.81 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7374, allocations: 3.938 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.7374, allocations: 1.031 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.7374, allocations: 1.156 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.7376, allocations: 46.61 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.7379, allocations: 332.5 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.7381, allocations: 57.53 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.7381, allocations: 33.47 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.7382, allocations: 9.016 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.7383, allocations: 87.84 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.7383, allocations: 3.938 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003794/0.7387, allocations: 140.5 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.7387, allocations: 57.75 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.7388, allocations: 117.4 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.7388, allocations: 32.83 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.7388, allocations: 94.73 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.7389, allocations: 19.73 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.7389, allocations: 37.64 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.739, allocations: 320.8 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.7391, allocations: 56.83 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7392, allocations: 85.05 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.7395, allocations: 149.8 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7395, allocations: 0.9062 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003881/0.7399, allocations: 204 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.7399, allocations: 40.11 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.7399, allocations: 0.8438 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7399, allocations: 9.719 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.74, allocations: 13.78 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.74, allocations: 2.156 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.7402, allocations: 34.84 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.7402, allocations: 7.797 kB / 1.276 GB, free: 3.977 MB / 0.9981 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.212e-05/0.7403, allocations: 126.3 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.7403, allocations: 10.98 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.7403, allocations: 11.08 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7403, allocations: 0.9375 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7403, allocations: 1.594 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7403, allocations: 0 / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.7406, allocations: 382.6 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7406, allocations: 5.672 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.7407, allocations: 11.75 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7407, allocations: 0.75 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.7407, allocations: 5.75 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7407, allocations: 0 / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7407, allocations: 2.641 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.741, allocations: 202.8 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.741, allocations: 84.3 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.741, allocations: 10.19 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.7411, allocations: 5.656 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.7411, allocations: 11 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.7411, allocations: 6.125 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.001e-05/0.7411, allocations: 91.05 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7411, allocations: 0 / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002417/0.7414, allocations: 20.66 kB / 1.277 GB, free: 3.133 MB / 0.9981 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.0004012/0.7418, allocations: 0.7551 MB / 1.278 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.7421, allocations: 160 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7421, allocations: 256 / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.7422, allocations: 39.98 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.7425, allocations: 18.33 kB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.7441, allocations: 1.706 MB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.7444, allocations: 0.6914 MB / 1.281 GB, free: 16.19 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.7444, allocations: 10.89 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.7445, allocations: 21.11 kB / 1.281 GB, free: 16.17 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7445, allocations: 0 / 1.281 GB, free: 16.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.768, allocations: 2.543 MB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.809, allocations: 1.719 kB / 1.283 GB, free: 15.72 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.167588443000568]