Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001225/0.001225, allocations: 80.55 kB / 19.96 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.001124/0.001124, 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 1.027/1.027, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.926/1.926, allocations: 389.6 MB / 0.6343 GB, free: 12.56 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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.145e-05, allocations: 2.281 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002361/0.002392, allocations: 0.9098 MB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.004556, allocations: 1.463 MB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004669, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.004721, allocations: 23.73 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.004907, allocations: 67.5 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.006037, allocations: 438 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000676/0.006713, allocations: 0.4951 MB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.00688, allocations: 29.95 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.007277, allocations: 271.5 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.007533, allocations: 127.7 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.00761, allocations: 48 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.007738, allocations: 63.97 kB / 1.005 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.007776, allocations: 43.78 kB / 1.005 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.007888, allocations: 131.8 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.008337, allocations: 0.5611 MB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.008341, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.794e-06/0.008343, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.00835, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007506/0.009101, allocations: 0.5625 MB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.009155, allocations: 13.34 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.009197, allocations: 38.73 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.009273, allocations: 28.84 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.009434, allocations: 172.8 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.009466, allocations: 16.38 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.009507, allocations: 28.36 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.009683, allocations: 117.6 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.009693, allocations: 192 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.009706, allocations: 4.375 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.009713, allocations: 12.12 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.009799, allocations: 51.91 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.01054, allocations: 0.7461 MB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.01068, allocations: 114.4 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.01074, allocations: 47.48 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.01074, allocations: 4 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.011, allocations: 177.3 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.01101, allocations: 4 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003535/0.01136, allocations: 233.3 kB / 1.008 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.01142, allocations: 136.5 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.01162, allocations: 237.7 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.01166, allocations: 41.69 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.01174, allocations: 132.5 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.01177, allocations: 35.69 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.01188, allocations: 101.6 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.01197, allocations: 330.8 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.01224, allocations: 275 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.01267, allocations: 357.5 kB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.01296, allocations: 372.9 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01296, allocations: 0 / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006521/0.01362, allocations: 0.6863 MB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.01371, allocations: 137.4 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.01372, allocations: 4 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01373, allocations: 0 / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.01381, allocations: 19.98 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.01382, allocations: 7.938 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.01417, allocations: 112 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.01421, allocations: 27.98 kB / 1.01 GB, free: 2.969 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001306/0.01434, allocations: 161.2 kB / 1.011 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.01437, allocations: 19.86 kB / 1.011 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.0144, allocations: 29.33 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01441, allocations: 0 / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01441, allocations: 4 kB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01442, allocations: 0 / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.01459, allocations: 208.6 kB / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0146, allocations: 0 / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.01463, allocations: 11.98 kB / 1.011 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01463, allocations: 4 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01464, allocations: 4 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01464, allocations: 4 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.01465, allocations: 0 / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.01487, allocations: 227.4 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.01489, allocations: 19.8 kB / 1.011 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01492, allocations: 12.92 kB / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.01495, allocations: 0 / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.01499, allocations: 15.98 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.015, allocations: 11.92 kB / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001073/0.01511, allocations: 173.2 kB / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01511, allocations: 0 / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002313/0.01534, allocations: 67.98 kB / 1.011 GB, free: 1.938 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004632/0.0158, allocations: 0.7631 MB / 1.012 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.01631, allocations: 0.6055 MB / 1.013 GB, free: 468 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01631, allocations: 0 / 1.013 GB, free: 468 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.01638, allocations: 59.91 kB / 1.013 GB, free: 408 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.01669, allocations: 67.12 kB / 1.013 GB, free: 344 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.01997, allocations: 3.532 MB / 1.016 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.311e-05/0.02004, allocations: 124.9 kB / 1.016 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.342e-05/0.0201, allocations: 17.64 kB / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.02017, allocations: 60.48 kB / 1.016 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of SimCode: time 7.81e-07/0.02017, allocations: 4 kB / 1.016 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08757/0.1077, allocations: 7.632 MB / 1.024 GB, free: 4.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.33, allocations: 2.438 kB / 1.024 GB, free: 4.91 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_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_Integers_Sources_Validation_Pulse.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.11708793696016]