Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 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.001475/0.001475, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.728/1.728, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001451/0.001451, allocations: 72.33 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2564, allocations: 114.6 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.00254/0.259, allocations: 0.7391 MB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2607, allocations: 1.129 MB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.2607, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.2608, allocations: 3.938 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.2609, allocations: 11.86 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.2614, allocations: 135.1 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.2616, allocations: 127.8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2617, allocations: 15.98 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.2618, allocations: 39.92 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.2619, allocations: 43.77 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2619, allocations: 12 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.262, allocations: 23.98 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.2621, allocations: 11.98 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.2622, allocations: 47.84 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2623, allocations: 131.9 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2624, allocations: 3.938 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2624, allocations: 0 / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2624, allocations: 0 / 0.7859 GB, free: 10.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005281/0.2629, allocations: 389 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.263, allocations: 8.031 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.263, allocations: 34.75 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.2631, allocations: 12.84 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2632, allocations: 176.2 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2632, allocations: 8.375 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2633, allocations: 8.375 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.2634, allocations: 46.23 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2634, allocations: 3.938 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2634, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2634, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.2635, allocations: 15.98 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.2639, allocations: 336.7 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.264, allocations: 31.58 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.264, allocations: 12.92 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.2641, allocations: 0 / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.2643, allocations: 63.39 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2643, allocations: 0 / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002154/0.2645, allocations: 85.45 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2645, allocations: 59.41 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2647, allocations: 121.8 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2647, allocations: 33.69 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.2648, allocations: 88.14 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2648, allocations: 7.906 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.2648, allocations: 29.7 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.265, allocations: 326.8 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.2651, allocations: 39.92 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2652, allocations: 54.56 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.2653, allocations: 92.2 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2653, allocations: 0 / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002759/0.2656, allocations: 163.2 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.2656, allocations: 45.75 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2657, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2657, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.2657, allocations: 4 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2657, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.2659, allocations: 28.03 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.266, allocations: 7.984 kB / 0.7881 GB, free: 8.289 MB / 0.6075 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,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 0.0001629/0.2661, allocations: 125.7 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2662, allocations: 11.91 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.2662, allocations: 7.906 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.2662, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2662, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2662, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.2663, allocations: 181.5 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2664, allocations: 0 / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.2664, allocations: 0 / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2664, allocations: 4 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2664, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2664, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2664, allocations: 4 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.2665, allocations: 97.19 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2666, allocations: 81.14 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2666, allocations: 4 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/0.2667, allocations: 7.875 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.2667, allocations: 7.984 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2667, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.2668, allocations: 103.3 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.432e-06/0.2668, allocations: 0 / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002185/0.267, allocations: 23.94 kB / 0.7888 GB, free: 7.539 MB / 0.6075 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,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0004758/0.2675, allocations: 0.628 MB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.2678, allocations: 143.3 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2678, allocations: 0 / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.2678, allocations: 15.98 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2681, allocations: 15.98 kB / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2697, allocations: 1.5 MB / 0.791 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.2701, allocations: 0.6846 MB / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.2701, allocations: 4 kB / 0.7917 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.2701, allocations: 15.44 kB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2701, allocations: 0 / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.2904, allocations: 2.335 MB / 0.794 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.787, allocations: 22.02 kB / 0.794 GB, free: 2.125 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)