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.0007372/0.0007371, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008391/0.000839, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.619/1.619, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004928/0.0004929, allocations: 19.91 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009786/0.229, allocations: 0.6582 MB / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2305, allocations: 1.406 MB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.2305, allocations: 0 / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.2306, allocations: 7.875 kB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2307, allocations: 51.62 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.2315, allocations: 377.3 kB / 0.7899 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.2318, allocations: 387.2 kB / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2319, allocations: 41.83 kB / 0.7903 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2321, allocations: 139.6 kB / 0.7904 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2323, allocations: 123.5 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.2323, allocations: 16 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.2324, allocations: 27.98 kB / 0.7906 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.2324, allocations: 31.8 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.2325, allocations: 65.64 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.2328, allocations: 379.2 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2328, allocations: 4 kB / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2329, allocations: 0 / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2329, allocations: 0 / 0.791 GB, free: 8.121 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.000581/0.2334, allocations: 0.5637 MB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2335, allocations: 8.031 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.2335, allocations: 42.55 kB / 0.7916 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.2336, allocations: 35.67 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2338, allocations: 217.7 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2338, allocations: 19.98 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2339, allocations: 24 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.234, allocations: 113.1 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.234, allocations: 3.938 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2341, allocations: 7.938 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2341, allocations: 4 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.2342, allocations: 51.91 kB / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.235, allocations: 0.8757 MB / 0.7929 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.2351, allocations: 122.4 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.2352, allocations: 55.38 kB / 0.7931 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.2352, allocations: 4 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.2354, allocations: 174.6 kB / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.2355, allocations: 0 / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003755/0.2358, allocations: 222 kB / 0.7935 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.2359, allocations: 136.5 kB / 0.7936 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2361, allocations: 244.9 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.2362, allocations: 37.7 kB / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.2363, allocations: 128.4 kB / 0.794 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2363, allocations: 27.69 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.2364, allocations: 12 kB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.2365, allocations: 334.8 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.2367, allocations: 148.1 kB / 0.7945 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.237, allocations: 226.7 kB / 0.7947 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.2373, allocations: 250.8 kB / 0.795 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2373, allocations: 11.89 kB / 0.795 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007723/0.2381, allocations: 0.5507 MB / 0.7955 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.2382, allocations: 138.8 kB / 0.7956 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2382, allocations: 0 / 0.7956 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2382, allocations: 8 kB / 0.7956 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.2383, allocations: 11.98 kB / 0.7957 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2383, allocations: 7.938 kB / 0.7957 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.2389, allocations: 162.7 kB / 0.7958 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.239, allocations: 28.22 kB / 0.7958 GB, free: 2.715 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.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.2391, allocations: 145.8 kB / 0.796 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.2392, allocations: 35.64 kB / 0.796 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.2392, allocations: 17.25 kB / 0.796 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2392, allocations: 7.938 kB / 0.796 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2392, allocations: 0 / 0.796 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2393, allocations: 7.984 kB / 0.7961 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.2395, allocations: 253.5 kB / 0.7963 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2395, allocations: 4 kB / 0.7963 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.2395, allocations: 11.95 kB / 0.7963 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2395, allocations: 0 / 0.7963 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.2396, allocations: 15.98 kB / 0.7963 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2396, allocations: 4 kB / 0.7963 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2396, allocations: 0 / 0.7963 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2398, allocations: 226.1 kB / 0.7965 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2399, allocations: 88.92 kB / 0.7966 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.2399, allocations: 11.95 kB / 0.7966 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.24, allocations: 7.984 kB / 0.7966 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.24, allocations: 15.98 kB / 0.7967 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2401, allocations: 8 kB / 0.7967 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001422/0.2402, allocations: 168.5 kB / 0.7968 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2402, allocations: 0 / 0.7968 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003012/0.2405, allocations: 67.91 kB / 0.7969 GB, free: 1.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005644/0.2411, allocations: 0.763 MB / 0.7976 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.2417, allocations: 0.5251 MB / 0.7982 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2417, allocations: 4.125 kB / 0.7982 GB, free: 160 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.2418, allocations: 67.91 kB / 0.7982 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.2422, allocations: 60.39 kB / 0.7983 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2444, allocations: 1.618 MB / 0.7999 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2446, allocations: 0.7242 MB / 0.8006 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.253e-05/0.2447, allocations: 25.53 kB / 0.8006 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.2448, allocations: 59.41 kB / 0.8006 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2448, allocations: 0 / 0.8006 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.2647, allocations: 6.089 MB / 0.8066 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.265, allocations: 195.1 kB / 0.8068 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.969, allocations: 0 / 0.8068 GB, free: 7.371 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/linux/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) Environment - environmentSimulation: