Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001229/0.001229, allocations: 108.3 kB / 19.72 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.001537/0.001537, allocations: 219.8 kB / 23.02 MB, free: 2.957 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 0.9405/0.9405, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.04/2.04, allocations: 0.5045 GB / 0.8104 GB, free: 2.727 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.Switch,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 71.89 kB / 1.177 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8196, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001487/0.8211, allocations: 0.6731 MB / 1.353 GB, free: 0.9688 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.8223, allocations: 1.284 MB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.8223, allocations: 0 / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.8223, allocations: 3.938 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.8224, allocations: 27.78 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.8231, allocations: 309.3 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.8233, allocations: 259.5 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.8234, allocations: 12.19 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.8235, allocations: 103.8 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.8236, allocations: 83.73 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.8237, allocations: 20 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.8237, allocations: 35.98 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.8238, allocations: 19.92 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.8238, allocations: 83.8 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.824, allocations: 209.7 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.824, allocations: 4 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.824, allocations: 0 / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.8241, allocations: 0 / 1.355 GB, free: 14.53 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.0004651/0.8245, allocations: 428.8 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8246, allocations: 8.922 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.8246, allocations: 30.75 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.8246, allocations: 16.89 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.269e-05/0.8247, allocations: 118.4 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.8247, allocations: 16.36 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.8248, allocations: 12.38 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.8249, allocations: 65.97 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8249, allocations: 4 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.8249, allocations: 0 / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8249, allocations: 0 / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.8249, allocations: 23.98 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.8253, allocations: 343.7 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.8254, allocations: 30.56 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.8254, allocations: 16.86 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.8254, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.8256, allocations: 107.4 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.8256, allocations: 7.938 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0002414/0.8258, allocations: 145.5 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.8259, allocations: 55.41 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.8259, allocations: 140.5 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.826, allocations: 29.7 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.826, allocations: 104.1 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.826, allocations: 15.97 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.8261, allocations: 65.67 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.8262, allocations: 326.8 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.8264, allocations: 185 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.8266, allocations: 227 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.8267, allocations: 235.7 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8267, allocations: 4 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000422/0.8272, allocations: 468.5 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.8272, allocations: 101.3 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8272, allocations: 0 / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8272, allocations: 4 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.8272, allocations: 7.938 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8273, allocations: 3.984 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.8275, allocations: 83.8 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.8275, allocations: 19.98 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.921e-05/0.8276, allocations: 134.3 kB / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.8276, allocations: 7.953 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.8276, allocations: 8.375 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8277, allocations: 3.984 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8277, allocations: 3.938 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8277, allocations: 4 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.8278, allocations: 160.6 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8278, allocations: 0 / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-06/0.8278, allocations: 4 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8278, allocations: 0 / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.8278, allocations: 4 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8278, allocations: 3.984 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8278, allocations: 3.984 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.8279, allocations: 149.2 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.8279, allocations: 3.953 kB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.8279, allocations: 11.92 kB / 1.359 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.828, allocations: 4 kB / 1.359 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.828, allocations: 7.984 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.828, allocations: 4 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.828, allocations: 103.3 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.828, allocations: 0 / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001743/0.8282, allocations: 40 kB / 1.359 GB, free: 10.07 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003485/0.8286, allocations: 0.6864 MB / 1.36 GB, free: 9.359 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.8289, allocations: 411.1 kB / 1.36 GB, free: 8.902 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8289, allocations: 0 / 1.36 GB, free: 8.902 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.8289, allocations: 32.3 kB / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.8291, allocations: 32.34 kB / 1.361 GB, free: 8.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.8311, allocations: 2.444 MB / 1.363 GB, free: 6.184 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.8312, allocations: 79.67 kB / 1.363 GB, free: 6.082 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.8312, allocations: 8.438 kB / 1.363 GB, free: 6.074 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.8313, allocations: 31.42 kB / 1.363 GB, free: 6.043 MB / 1.042 GB Notification: Performance of SimCode: time 4.9e-07/0.8313, allocations: 0 / 1.363 GB, free: 6.043 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07685/0.9081, allocations: 4.689 MB / 1.368 GB, free: 1.551 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/8.061, allocations: 0 / 1.368 GB, free: 1.551 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_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_Switch.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.009494330734015]