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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009999/0.001, allocations: 188.5 kB / 366.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.2 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008946/0.0008944, allocations: 90.52 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.214e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8319, allocations: 116.3 MB / 0.9734 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/1.061, allocations: 138.4 MB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.061, allocations: 75.94 kB / 1.109 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006061/1.067, allocations: 1.982 MB / 1.111 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/1.067, allocations: 0 / 1.111 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.067, allocations: 4.594 kB / 1.111 GB, free: 9.652 MB / 0.7136 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.0004509/1.068, allocations: 380.1 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.068, allocations: 8.031 kB / 1.111 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/1.068, allocations: 7.984 kB / 1.111 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/1.068, allocations: 190.3 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/1.068, allocations: 0 / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/1.068, allocations: 4 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.381e-05/1.068, allocations: 14.78 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/1.069, allocations: 37.69 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.069, allocations: 4 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.069, allocations: 0 / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/1.069, allocations: 2.25 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/1.069, allocations: 306.8 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/1.069, allocations: 38.45 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/1.069, allocations: 10.23 kB / 1.112 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/1.069, allocations: 2.156 kB / 1.112 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/1.07, allocations: 67.17 kB / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/1.07, allocations: 0 / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002266/1.07, allocations: 57.59 kB / 1.112 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/1.07, allocations: 63.34 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.07, allocations: 109 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.07, allocations: 29.7 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/1.07, allocations: 88.14 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/1.07, allocations: 4.75 kB / 1.112 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/1.07, allocations: 4 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.07, allocations: 324 kB / 1.112 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/1.07, allocations: 32 kB / 1.112 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/1.071, allocations: 51.44 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/1.071, allocations: 41.88 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.071, allocations: 0 / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003704/1.071, allocations: 135.1 kB / 1.112 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/1.071, allocations: 34.8 kB / 1.113 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.071, allocations: 3.984 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.071, allocations: 4 kB / 1.113 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/1.071, allocations: 4.062 kB / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/1.071, allocations: 7.984 kB / 1.113 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/1.072, allocations: 35.97 kB / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/1.072, allocations: 4 kB / 1.113 GB, free: 7.395 MB / 0.7136 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,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.072, allocations: 119 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001103/1.072, allocations: 65.53 kB / 1.113 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/1.072, allocations: 7.906 kB / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/1.072, allocations: 8.328 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.072, allocations: 0 / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.072, allocations: 0 / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.072, allocations: 4 kB / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/1.072, allocations: 154.1 kB / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.072, allocations: 3.938 kB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/1.072, allocations: 0 / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.072, allocations: 0 / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/1.072, allocations: 8 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.072, allocations: 3.984 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.072, allocations: 0 / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/1.072, allocations: 89.02 kB / 1.113 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/1.072, allocations: 81.02 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.072, allocations: 4 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/1.072, allocations: 0 / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/1.072, allocations: 7.984 kB / 1.113 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/1.072, allocations: 7 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.514e-05/1.073, allocations: 93.58 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 0 / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002183/1.073, allocations: 23.98 kB / 1.113 GB, free: 6.641 MB / 0.7136 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 () * 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 (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.0005585/1.073, allocations: 0.6431 MB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002199/1.074, allocations: 123.4 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.074, allocations: 0 / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/1.074, allocations: 12 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/1.074, allocations: 15.98 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/1.074, allocations: 134.4 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.075, allocations: 0.6886 MB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.742e-05/1.075, allocations: 8.172 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/1.075, allocations: 15.44 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.075, allocations: 0 / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.097, allocations: 1.729 MB / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/1.098, allocations: 149.2 kB / 1.117 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.67, allocations: 0 / 1.117 GB, free: 3.059 MB / 0.7136 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/linux/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)