Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_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_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 194.8 kB / 16.64 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.549 GB, free: 12.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.77 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2427, allocations: 114.5 MB / 0.7837 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002242/0.245, allocations: 0.9802 MB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2467, allocations: 1.43 MB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.2468, allocations: 7.938 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.2468, allocations: 19.75 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.247, allocations: 55.55 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009362/0.2479, allocations: 437.9 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.2484, allocations: 0.5069 MB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2486, allocations: 53.64 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.2488, allocations: 183.5 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.249, allocations: 163.5 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.2491, allocations: 48 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2492, allocations: 63.98 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.2493, allocations: 43.77 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.2494, allocations: 163.5 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.2499, allocations: 0.4911 MB / 0.7882 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2499, allocations: 0 / 0.7882 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2499, allocations: 0 / 0.7882 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.25, allocations: 0 / 0.7882 GB, free: 8.555 MB / 0.6075 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.0008607/0.2508, allocations: 0.63 MB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2509, allocations: 12.03 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.2509, allocations: 42.73 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.251, allocations: 32.66 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2512, allocations: 226.9 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2513, allocations: 16.36 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.2513, allocations: 24.38 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2515, allocations: 113.6 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2516, allocations: 7.938 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2516, allocations: 4 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2516, allocations: 4 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2517, allocations: 55.91 kB / 0.7893 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.2526, allocations: 0.8717 MB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2528, allocations: 118.4 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.2529, allocations: 55.48 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2529, allocations: 4 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.2532, allocations: 182.5 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.2532, allocations: 4 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004261/0.2536, allocations: 233.8 kB / 0.7907 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.2537, allocations: 132.5 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.2539, allocations: 240.9 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.254, allocations: 37.7 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2541, allocations: 140.3 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.2541, allocations: 27.61 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2543, allocations: 93.66 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2544, allocations: 334.8 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.2547, allocations: 148.2 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.2551, allocations: 218.6 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.2555, allocations: 365 kB / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2555, allocations: 0 / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008503/0.2563, allocations: 0.5468 MB / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.2564, allocations: 138.8 kB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2564, allocations: 4 kB / 0.7931 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2565, allocations: 4.25 kB / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.2566, allocations: 23.92 kB / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2566, allocations: 4 kB / 0.7931 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.2572, allocations: 107.7 kB / 0.7932 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/0.2572, allocations: 27.98 kB / 0.7932 GB, free: 2.883 MB / 0.6075 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.0001487/0.2574, allocations: 157.7 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2574, allocations: 19.72 kB / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.2575, allocations: 29.17 kB / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2575, allocations: 0 / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2575, allocations: 4 kB / 0.7934 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2575, allocations: 3.938 kB / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.2577, allocations: 257.5 kB / 0.7937 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2578, allocations: 4 kB / 0.7937 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.2578, allocations: 19.86 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2578, allocations: 0 / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2578, allocations: 4 kB / 0.7937 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2578, allocations: 4 kB / 0.7937 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2578, allocations: 0 / 0.7937 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.2581, allocations: 227.2 kB / 0.7939 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.2582, allocations: 96.91 kB / 0.794 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2582, allocations: 4 kB / 0.794 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.2583, allocations: 4 kB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2583, allocations: 19.92 kB / 0.794 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2583, allocations: 7.984 kB / 0.794 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001395/0.2585, allocations: 168.5 kB / 0.7942 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2585, allocations: 0 / 0.7942 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003333/0.2588, allocations: 75.89 kB / 0.7943 GB, free: 1.691 MB / 0.6075 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.0005592/0.2594, allocations: 0.755 MB / 0.795 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006552/0.2601, allocations: 0.529 MB / 0.7955 GB, free: 332 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2601, allocations: 0 / 0.7955 GB, free: 332 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2602, allocations: 68.47 kB / 0.7956 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2606, allocations: 76.78 kB / 0.7957 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.2643, allocations: 3.019 MB / 0.7986 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2645, allocations: 0.7281 MB / 0.7993 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.315e-05/0.2646, allocations: 21.55 kB / 0.7993 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.2647, allocations: 63.41 kB / 0.7994 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of SimCode: time 6.52e-07/0.2647, allocations: 0 / 0.7994 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.2887, allocations: 6.373 MB / 0.8056 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.153, allocations: 0 / 0.8056 GB, free: 5.93 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)