Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.001189/0.001189, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001316/0.001316, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9525/0.9525, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.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 1.862/1.862, allocations: 389.5 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] 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.Reals.Validation.Switch,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 1.001 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.603e-05, allocations: 6.219 kB / 1.001 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00162/0.001646, allocations: 0.7729 MB / 1.001 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.002871, allocations: 1.171 MB / 1.003 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.002921, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.002949, allocations: 3.938 kB / 1.003 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.003024, allocations: 19.8 kB / 1.003 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.003475, allocations: 130 kB / 1.003 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.003641, allocations: 139.7 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.003736, allocations: 11.92 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003849, allocations: 75.86 kB / 1.003 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.00393, allocations: 47.86 kB / 1.003 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.003952, allocations: 8 kB / 1.003 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.004008, allocations: 24 kB / 1.003 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.00403, allocations: 7.984 kB / 1.003 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.004086, allocations: 39.91 kB / 1.003 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004258, allocations: 139.6 kB / 1.003 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.004262, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.853e-06/0.004264, allocations: 4 kB / 1.003 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.004269, allocations: 0 / 1.003 GB, free: 9.715 MB / 0.9167 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.0004968/0.004766, allocations: 351.7 kB / 1.004 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.00481, allocations: 9.344 kB / 1.004 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.307e-05/0.004883, allocations: 34.75 kB / 1.004 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.004922, allocations: 8.891 kB / 1.004 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.005008, allocations: 121.7 kB / 1.004 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.005024, allocations: 4.375 kB / 1.004 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.005044, allocations: 8.375 kB / 1.004 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.005224, allocations: 82.19 kB / 1.004 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.005231, allocations: 192 / 1.004 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.005241, allocations: 8.312 kB / 1.004 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005247, allocations: 4.125 kB / 1.004 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.005405, allocations: 71.86 kB / 1.004 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.005778, allocations: 275.9 kB / 1.004 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.0059, allocations: 58.53 kB / 1.004 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.005986, allocations: 40.86 kB / 1.004 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.00601, allocations: 7.984 kB / 1.004 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.006249, allocations: 91.3 kB / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.00625, allocations: 0 / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0003861/0.006636, allocations: 173.5 kB / 1.005 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.006671, allocations: 51.41 kB / 1.005 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.006753, allocations: 121.7 kB / 1.005 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.006774, allocations: 33.7 kB / 1.005 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.006819, allocations: 96.03 kB / 1.005 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.006838, allocations: 27.88 kB / 1.005 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.00689, allocations: 33.69 kB / 1.005 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.006971, allocations: 318.8 kB / 1.005 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.007115, allocations: 97.58 kB / 1.005 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.007251, allocations: 112.2 kB / 1.005 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.007452, allocations: 144.2 kB / 1.006 GB, free: 7.145 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007455, allocations: 0 / 1.006 GB, free: 7.145 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003316/0.007787, allocations: 240.9 kB / 1.006 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.007823, allocations: 37.69 kB / 1.006 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.007829, allocations: 8.062 kB / 1.006 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.007845, allocations: 3.938 kB / 1.006 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.007942, allocations: 15.98 kB / 1.006 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.007948, allocations: 0 / 1.006 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.008074, allocations: 43.89 kB / 1.006 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.008089, allocations: 4 kB / 1.006 GB, free: 6.773 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.606e-05/0.008165, allocations: 117.8 kB / 1.006 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.008179, allocations: 15.89 kB / 1.006 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.008207, allocations: 8.438 kB / 1.006 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00821, allocations: 3.984 kB / 1.006 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.008215, allocations: 0 / 1.006 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.00822, allocations: 3.984 kB / 1.006 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.713e-05/0.008317, allocations: 144.7 kB / 1.006 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.00832, allocations: 7.984 kB / 1.006 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.00837, allocations: 11.98 kB / 1.006 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008373, allocations: 4.031 kB / 1.006 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.00838, allocations: 7.938 kB / 1.006 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008381, allocations: 4 kB / 1.006 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008382, allocations: 0 / 1.006 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.008607, allocations: 149.3 kB / 1.006 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.008617, allocations: 8 kB / 1.006 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.008631, allocations: 0 / 1.006 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.008673, allocations: 19.97 kB / 1.006 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.008713, allocations: 4 kB / 1.006 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.00872, allocations: 11.98 kB / 1.006 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.008762, allocations: 95.27 kB / 1.006 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008762, allocations: 0 / 1.006 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001696/0.008932, allocations: 27.89 kB / 1.006 GB, free: 6.062 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005817/0.009513, allocations: 0.6865 MB / 1.007 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.009851, allocations: 208.9 kB / 1.007 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009853, allocations: 3.938 kB / 1.007 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.00995, allocations: 43.95 kB / 1.007 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.01015, allocations: 22.56 kB / 1.007 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.01193, allocations: 1.753 MB / 1.009 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.822e-05/0.01198, allocations: 75.31 kB / 1.009 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.01202, allocations: 4 kB / 1.009 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.01207, allocations: 20.5 kB / 1.009 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of SimCode: time 8.81e-07/0.01207, allocations: 0 / 1.009 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0875/0.09957, allocations: 3.487 MB / 1.013 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/7.968, allocations: 4.484 kB / 1.013 GB, free: 15.74 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Switch.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.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_Reals_Validation_Switch.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.620584690012038]