Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001226/0.001226, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.001399/0.001399, allocations: 214.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.088/1.088, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.027/2.027, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009217/0.0009217, allocations: 67.91 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7553, allocations: 180 MB / 1.352 GB, free: 1.684 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001609/0.7569, allocations: 0.7362 MB / 1.353 GB, free: 0.9531 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.7581, allocations: 1.151 MB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.7581, allocations: 0 / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.7581, allocations: 11.86 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.7582, allocations: 11.88 kB / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.7586, allocations: 136.4 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.7587, allocations: 123.8 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.7588, allocations: 8 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.7589, allocations: 55.83 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.759, allocations: 35.89 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.759, allocations: 8 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-05/0.759, allocations: 19.98 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.7591, allocations: 15.92 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.7591, allocations: 39.91 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.7593, allocations: 117.9 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7593, allocations: 0 / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7593, allocations: 0 / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.7593, allocations: 0 / 1.355 GB, free: 15.22 MB / 1.042 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.0004476/0.7597, allocations: 327.8 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7598, allocations: 8.922 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.7598, allocations: 42.73 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.7598, allocations: 8.891 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.7599, allocations: 114.4 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.7599, allocations: 8.375 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.7599, allocations: 8.312 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.7601, allocations: 66.22 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7601, allocations: 3.938 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.7601, allocations: 3.984 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7601, allocations: 0 / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.7602, allocations: 43.95 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.7605, allocations: 291.8 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.7607, allocations: 50.61 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.7607, allocations: 32.95 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.7607, allocations: 0 / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.7609, allocations: 95.3 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.7609, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0002615/0.7612, allocations: 145.6 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.7612, allocations: 55.41 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.7612, allocations: 121.8 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.7613, allocations: 33.7 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.7613, allocations: 92.09 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.7613, allocations: 23.83 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.7614, allocations: 33.7 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.7614, allocations: 326.7 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.7616, allocations: 85.67 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.7617, allocations: 121.9 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.7618, allocations: 137.9 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7618, allocations: 0 / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002553/0.7621, allocations: 240.9 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.7621, allocations: 44.03 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7621, allocations: 4 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7621, allocations: 3.938 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.7622, allocations: 11.98 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.7622, allocations: 3.938 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.7623, allocations: 32.09 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.7623, allocations: 15.98 kB / 1.357 GB, free: 12.37 MB / 1.042 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.109e-05/0.7624, allocations: 122.3 kB / 1.357 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.7624, allocations: 11.89 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.7624, allocations: 8.375 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7624, allocations: 0 / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7624, allocations: 8.062 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7624, allocations: 3.984 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.7627, allocations: 341.5 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7627, allocations: 0 / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.7627, allocations: 15.92 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.7627, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7627, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.7627, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7627, allocations: 3.938 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.7629, allocations: 207.5 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.7629, allocations: 11.95 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.7629, allocations: 0 / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.182e-05/0.7629, allocations: 7.984 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.763, allocations: 15.92 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.763, allocations: 0 / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.763, allocations: 91.27 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.763, allocations: 0 / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001786/0.7632, allocations: 28 kB / 1.358 GB, free: 11.43 MB / 1.042 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.0005067/0.7637, allocations: 0.7436 MB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.7639, allocations: 197.5 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7639, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.764, allocations: 31.92 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.7642, allocations: 25.98 kB / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.7656, allocations: 1.818 MB / 1.361 GB, free: 8.438 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.716e-05/0.7656, allocations: 79.05 kB / 1.361 GB, free: 8.34 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.7656, allocations: 11.78 kB / 1.361 GB, free: 8.328 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.7657, allocations: 19.44 kB / 1.361 GB, free: 8.309 MB / 1.042 GB Notification: Performance of SimCode: time 5.21e-07/0.7657, allocations: 0 / 1.361 GB, free: 8.309 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07484/0.8405, allocations: 3.24 MB / 1.364 GB, free: 5.227 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.847, allocations: 7.594 kB / 1.364 GB, free: 5.227 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.971931837499142]