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.001095/0.001095, 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.001115/0.001115, allocations: 188 kB / 16.62 MB, free: 6.613 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.792/1.792, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001678/0.001678, allocations: 73.16 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2418, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002129/0.2439, allocations: 0.7398 MB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.2454, allocations: 1.125 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2454, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.2455, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.714e-05/0.2456, allocations: 19.84 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.246, allocations: 131 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.2462, allocations: 131.8 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.2463, allocations: 11.98 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.2464, allocations: 47.84 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2465, allocations: 43.81 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2465, allocations: 12 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.2466, allocations: 24 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.2466, allocations: 11.98 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.2467, allocations: 39.84 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2468, allocations: 143.8 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2468, allocations: 4 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2469, allocations: 4 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2469, allocations: 0 / 0.7861 GB, free: 10.74 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.0004802/0.2473, allocations: 403.3 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2474, allocations: 8.031 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.2474, allocations: 30.75 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.2475, allocations: 8.844 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2476, allocations: 180.3 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2476, allocations: 384 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.2477, allocations: 8.375 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/0.2478, allocations: 46.25 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2478, allocations: 3.938 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2478, allocations: 3.938 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2478, allocations: 0 / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.2479, allocations: 15.94 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.2483, allocations: 328.7 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/0.2484, allocations: 35.62 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.2484, allocations: 12.92 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2484, allocations: 0 / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.2486, allocations: 71.31 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.2486, allocations: 0 / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000206/0.2488, allocations: 73.59 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2489, allocations: 59.39 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.249, allocations: 121.8 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.249, allocations: 37.64 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.2491, allocations: 96.11 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.2491, allocations: 3.906 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2492, allocations: 29.7 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.2493, allocations: 318.8 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.2494, allocations: 43.97 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/0.2495, allocations: 62.5 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.2496, allocations: 88.27 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2496, allocations: 0 / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002505/0.2498, allocations: 163.2 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.2499, allocations: 33.7 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2499, allocations: 4 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2499, allocations: 3.984 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.25, allocations: 12 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.25, allocations: 0 / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.2502, allocations: 23.97 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.2502, allocations: 8 kB / 0.7883 GB, free: 8.176 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.147e-05/0.2503, allocations: 122.4 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2503, allocations: 7.891 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.2503, allocations: 7.906 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2503, allocations: 4 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2504, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2504, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2505, allocations: 185.5 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2505, allocations: 0 / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.2505, allocations: 0 / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.2505, allocations: 3.938 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2505, allocations: 4 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2505, allocations: 0 / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2505, allocations: 0 / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2507, allocations: 96.97 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.2507, allocations: 89.09 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2507, allocations: 0 / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.2508, allocations: 0 / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.2508, allocations: 4 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2508, allocations: 0 / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.2509, allocations: 103.2 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2509, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002259/0.2511, allocations: 16 kB / 0.7889 GB, free: 7.441 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.0004279/0.2515, allocations: 0.6357 MB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2518, allocations: 135.4 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2518, allocations: 4 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.2518, allocations: 16.48 kB / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2521, allocations: 20.75 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2536, allocations: 1.492 MB / 0.7912 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2539, allocations: 0.6885 MB / 0.7918 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.2539, allocations: 11.98 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.254, allocations: 15.44 kB / 0.7919 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.254, allocations: 0 / 0.7919 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.273, allocations: 2.348 MB / 0.7942 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.733, allocations: 16.75 kB / 0.7942 GB, free: 2.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --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)