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.001384/0.001384, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001438/0.001438, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.125 MB / 190.1 MB " [Timeout remaining time 178] 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.476/2.476, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.001757/0.001757, allocations: 67.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7537, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001657/0.7553, allocations: 0.7598 MB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.7565, allocations: 1.155 MB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.7565, allocations: 0.7812 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.7565, allocations: 9.156 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.7566, allocations: 11.41 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.7571, allocations: 129.7 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.7572, allocations: 122 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.7573, allocations: 14.12 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.7574, allocations: 52.52 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.7575, allocations: 41.45 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.7575, allocations: 11.28 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.697e-05/0.7576, allocations: 32.2 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.7576, allocations: 13.34 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.7577, allocations: 48.98 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.7578, allocations: 111.4 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7578, allocations: 0.8438 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7578, allocations: 0 / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.7578, allocations: 0 / 1.274 GB, free: 6.117 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.0004533/0.7583, allocations: 415.3 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7583, allocations: 9.844 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.194e-05/0.7583, allocations: 35.69 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.7584, allocations: 10.31 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/0.7585, allocations: 168.9 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.7585, allocations: 3.922 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.7585, allocations: 11.09 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.7587, allocations: 62.58 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7587, allocations: 5.125 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.7587, allocations: 2.672 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7587, allocations: 0.9375 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.7589, allocations: 50.03 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.7592, allocations: 335.6 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.7594, allocations: 52.34 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.7595, allocations: 35.95 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.7595, allocations: 1 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.7597, allocations: 86.45 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.7597, allocations: 0 / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004/0.7601, allocations: 152.8 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.7601, allocations: 55.62 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.7601, allocations: 116.5 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.7602, allocations: 32.7 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.7602, allocations: 93.19 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.7602, allocations: 17.08 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.7603, allocations: 38.81 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.7603, allocations: 322.5 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.7605, allocations: 52.88 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.7606, allocations: 84.62 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.7608, allocations: 144.9 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7609, allocations: 7.938 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004095/0.7613, allocations: 212.2 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.7613, allocations: 39.11 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7613, allocations: 0.9688 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7613, allocations: 1.594 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.7614, allocations: 15.17 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7614, allocations: 7.219 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.7616, allocations: 34.31 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.7616, allocations: 8.531 kB / 1.276 GB, free: 3.922 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 7.069e-05/0.7617, allocations: 133.7 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.7617, allocations: 7.641 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.7617, allocations: 11.48 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7617, allocations: 1.094 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7617, allocations: 1.094 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7617, allocations: 0 / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.7621, allocations: 381.7 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7621, allocations: 1.25 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.7622, allocations: 15.89 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7622, allocations: 1.031 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.7622, allocations: 2.859 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7622, allocations: 0 / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7622, allocations: 4.562 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.7625, allocations: 204.5 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.7625, allocations: 83.22 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.7625, allocations: 8.672 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.7626, allocations: 4.375 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.7626, allocations: 9.969 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.7626, allocations: 2.531 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.7627, allocations: 99.11 kB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7627, allocations: 0 / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002497/0.7629, allocations: 20.22 kB / 1.277 GB, free: 3.074 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.0005003/0.7634, allocations: 0.7498 MB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.7638, allocations: 169.3 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7638, allocations: 0.875 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.7639, allocations: 33.92 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.7642, allocations: 24.78 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.766, allocations: 1.696 MB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.7663, allocations: 0.6978 MB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.7663, allocations: 3.969 kB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.7663, allocations: 21.11 kB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.7663, allocations: 0 / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.7898, allocations: 2.543 MB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.716, allocations: 16.78 kB / 1.283 GB, free: 15.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.982182826999633]