Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 209.6 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.987/2.987, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 67.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 176.1 MB / 1.322 GB, free: 24.97 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001818/1.074, allocations: 0.726 MB / 1.322 GB, free: 24.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001258/1.075, allocations: 1.174 MB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/1.075, allocations: 0 / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/1.075, allocations: 7.938 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/1.075, allocations: 14.42 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/1.076, allocations: 132.2 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/1.076, allocations: 116.8 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/1.076, allocations: 12.11 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/1.076, allocations: 49.88 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/1.076, allocations: 38.84 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/1.076, allocations: 13.69 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/1.076, allocations: 29.48 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/1.076, allocations: 14.11 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/1.076, allocations: 40.19 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/1.076, allocations: 134.4 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.076, allocations: 0 / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/1.076, allocations: 3.938 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.451e-06/1.076, allocations: 2.469 kB / 1.324 GB, free: 23.37 MB / 1.061 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.0004562/1.077, allocations: 389 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.077, allocations: 15.23 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.44e-05/1.077, allocations: 7.422 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.959e-05/1.077, allocations: 34.75 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/1.077, allocations: 10.58 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.077, allocations: 177.5 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.077, allocations: 7.062 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/1.077, allocations: 6.406 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/1.077, allocations: 42.86 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.077, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/1.077, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.077, allocations: 3 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/1.077, allocations: 17.08 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/1.078, allocations: 332.3 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/1.078, allocations: 27.55 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/1.078, allocations: 18.33 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/1.078, allocations: 0 / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/1.078, allocations: 68.64 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.078, allocations: 6.844 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/1.078, allocations: 76.16 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.078, allocations: 54.59 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/1.078, allocations: 128.5 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/1.078, allocations: 32.94 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/1.078, allocations: 93.75 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/1.078, allocations: 7.891 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/1.078, allocations: 35.38 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.568e-05/1.079, allocations: 326.1 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/1.079, allocations: 39.8 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/1.079, allocations: 54.58 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/1.079, allocations: 88.84 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.079, allocations: 0 / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002449/1.079, allocations: 168.6 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.079, allocations: 38.91 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.079, allocations: 2.875 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.079, allocations: 0 / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/1.079, allocations: 6.469 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/1.079, allocations: 2.531 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/1.079, allocations: 22.69 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.079, allocations: 10.58 kB / 1.326 GB, free: 21.25 MB / 1.061 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.124e-05/1.079, allocations: 123.5 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/1.079, allocations: 6.703 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/1.079, allocations: 10.7 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.079, allocations: 0 / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.079, allocations: 3.141 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.08, allocations: 2.812 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.457e-05/1.08, allocations: 176.2 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.08, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/1.08, allocations: 2.812 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.08, allocations: 4 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.08, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.08, allocations: 2.875 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.08, allocations: 4 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/1.08, allocations: 94.06 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/1.08, allocations: 85 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/1.08, allocations: 6.156 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/1.08, allocations: 0 / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/1.08, allocations: 4 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/1.08, allocations: 2.875 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.996e-05/1.08, allocations: 101.5 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.08, allocations: 0 / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002175/1.08, allocations: 16.56 kB / 1.327 GB, free: 20.62 MB / 1.061 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.0003942/1.08, allocations: 0.6411 MB / 1.327 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002379/1.081, allocations: 123.7 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.081, allocations: 2.5 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/1.081, allocations: 15.56 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/1.081, allocations: 19.91 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.083, allocations: 1.501 MB / 1.329 GB, free: 18.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/1.083, allocations: 0.6827 MB / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.613e-05/1.083, allocations: 5.312 kB / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/1.083, allocations: 17.42 kB / 1.33 GB, free: 17.88 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.083, allocations: 0 / 1.33 GB, free: 17.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/1.104, allocations: 2.405 MB / 1.332 GB, free: 17.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/9.474, allocations: 13.42 kB / 1.332 GB, free: 17.42 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.180661291000433] Failed to read output from testmodel.py, exit status != 0: 9.60074231395265 9.625599347 8.544575026 Calling exit ...