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.001166/0.001166, allocations: 109.4 kB / 15.69 MB, free: 128 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.001037/0.001037, allocations: 188.1 kB / 16.62 MB, free: 6.582 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.332/1.332, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.654/1.654, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00142/0.00142, allocations: 76.45 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2237, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.00202/0.2258, allocations: 0.7476 MB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2271, allocations: 1.125 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.2272, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.2272, allocations: 3.938 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.2273, allocations: 11.92 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.2278, allocations: 138.8 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.228, allocations: 123.8 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.2281, allocations: 15.98 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.2281, allocations: 47.84 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2283, allocations: 47.83 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.2283, allocations: 12 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.2284, allocations: 27.98 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2284, allocations: 7.984 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.2285, allocations: 43.84 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.2286, allocations: 139.8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2286, allocations: 0 / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2286, allocations: 0 / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2287, allocations: 0 / 0.7861 GB, free: 10.73 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.0004686/0.2291, allocations: 397 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2292, allocations: 16.03 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.2292, allocations: 30.75 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.2293, allocations: 8.844 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2294, allocations: 176.3 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2294, allocations: 8.359 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2294, allocations: 4.375 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.2295, allocations: 46.25 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2295, allocations: 3.938 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2296, allocations: 0 / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2296, allocations: 4 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.2296, allocations: 15.94 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.23, allocations: 336.6 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.2301, allocations: 31.62 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.2301, allocations: 16.92 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2301, allocations: 0 / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.2303, allocations: 67.33 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2303, allocations: 0 / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.2305, allocations: 73.59 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2305, allocations: 51.41 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.2306, allocations: 129.8 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.2307, allocations: 25.7 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.2307, allocations: 92.08 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.2307, allocations: 15.88 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.2308, allocations: 37.7 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.2309, allocations: 314.8 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.231, allocations: 43.92 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.2311, allocations: 58.55 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2312, allocations: 88.27 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2312, allocations: 4 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000256/0.2315, allocations: 159.4 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.2315, allocations: 37.7 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2315, allocations: 0 / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2316, allocations: 8.031 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.2316, allocations: 7.922 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2316, allocations: 4 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.2318, allocations: 23.97 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2319, allocations: 8.062 kB / 0.7883 GB, free: 8.16 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 8.97e-05/0.232, allocations: 118.4 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.232, allocations: 7.906 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.232, allocations: 11.89 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.232, allocations: 4 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.232, allocations: 0 / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.232, allocations: 0 / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2322, allocations: 173.5 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2322, allocations: 0 / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.2322, allocations: 11.98 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2322, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.2322, allocations: 64 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2322, allocations: 4 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2322, allocations: 3.938 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2323, allocations: 96.91 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.2324, allocations: 81.09 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2324, allocations: 4 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.2324, allocations: 4 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.2325, allocations: 0 / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2325, allocations: 8 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.2325, allocations: 99.2 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2326, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002063/0.2328, allocations: 20 kB / 0.7889 GB, free: 7.422 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.0003985/0.2332, allocations: 0.6357 MB / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2334, allocations: 131.4 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2334, allocations: 0 / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.2334, allocations: 23.94 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2337, allocations: 11.98 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2351, allocations: 1.497 MB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2353, allocations: 0.6807 MB / 0.7918 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.2354, allocations: 7.984 kB / 0.7918 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.2354, allocations: 15.44 kB / 0.7919 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2354, allocations: 0 / 0.7919 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.2554, allocations: 2.366 MB / 0.7942 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.992, allocations: 15.88 kB / 0.7942 GB, free: 2.004 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)