Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_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_9_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.001099/0.001099, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001304/0.001305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.000356, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7697, allocations: 142.3 MB / 0.9539 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0008322/0.7706, allocations: 448.1 kB / 0.9543 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.7718, allocations: 1.113 MB / 0.9554 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.7719, allocations: 1.156 kB / 0.9554 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.7719, allocations: 0 / 0.9554 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.772, allocations: 9.172 kB / 0.9554 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.7724, allocations: 109.2 kB / 0.9555 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.7725, allocations: 97.83 kB / 0.9556 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.7726, allocations: 8.516 kB / 0.9556 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.7727, allocations: 38.44 kB / 0.9556 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.7728, allocations: 32.33 kB / 0.9557 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.7728, allocations: 3.781 kB / 0.9557 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.7729, allocations: 18.95 kB / 0.9557 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.7729, allocations: 6.844 kB / 0.9557 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.7729, allocations: 35.7 kB / 0.9557 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.7731, allocations: 103.2 kB / 0.9558 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7731, allocations: 0 / 0.9558 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7731, allocations: 0 / 0.9558 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.7731, allocations: 5.562 kB / 0.9558 GB, free: 6.84 MB / 0.7169 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.0003496/0.7734, allocations: 379.1 kB / 0.9562 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.7735, allocations: 13.22 kB / 0.9562 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.7735, allocations: 31.66 kB / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.7736, allocations: 13.55 kB / 0.9563 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.7737, allocations: 179.1 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.7737, allocations: 3.594 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.7737, allocations: 8.422 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.7738, allocations: 41.91 kB / 0.9565 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.7738, allocations: 0 / 0.9565 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.7738, allocations: 0 / 0.9565 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7738, allocations: 1.344 kB / 0.9565 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.7739, allocations: 18.8 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.7742, allocations: 327 kB / 0.9568 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.7743, allocations: 29.7 kB / 0.9568 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.7743, allocations: 16.78 kB / 0.9569 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.7744, allocations: 0 / 0.9569 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.7745, allocations: 72.72 kB / 0.9569 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.7745, allocations: 0 / 0.9569 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000217/0.7747, allocations: 76.94 kB / 0.957 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7748, allocations: 53.31 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.7749, allocations: 122.6 kB / 0.9572 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.7749, allocations: 31.77 kB / 0.9572 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.775, allocations: 91.78 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.775, allocations: 18.36 kB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.775, allocations: 1.125 kB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.7751, allocations: 317.2 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.7751, allocations: 33.48 kB / 0.9576 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.7752, allocations: 58.67 kB / 0.9577 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.7753, allocations: 63.27 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7753, allocations: 1.344 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002495/0.7756, allocations: 164.9 kB / 0.9579 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.7756, allocations: 40.38 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7756, allocations: 5.078 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7756, allocations: 1.281 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.7757, allocations: 2.156 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7757, allocations: 1.031 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.7759, allocations: 55.08 kB / 0.958 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.776, allocations: 4.781 kB / 0.958 GB, free: 4.664 MB / 0.7169 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.776, allocations: 120.5 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.7761, allocations: 2.375 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.7761, allocations: 5 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7761, allocations: 8.938 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7761, allocations: 0 / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7761, allocations: 5.188 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.7762, allocations: 171 kB / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7763, allocations: 240 / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.7763, allocations: 10.22 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7763, allocations: 1.188 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.7763, allocations: 3.984 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7763, allocations: 1.031 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7763, allocations: 7.938 kB / 0.9583 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.7764, allocations: 90.94 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.7765, allocations: 83.27 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.7765, allocations: 5.078 kB / 0.9585 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.7765, allocations: 0 / 0.9585 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.7765, allocations: 6.547 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.7765, allocations: 0.75 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.7766, allocations: 103.2 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7766, allocations: 0 / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002062/0.7768, allocations: 16.16 kB / 0.9586 GB, free: 4.016 MB / 0.7169 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 (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.0002912/0.7771, allocations: 0.6284 MB / 0.9592 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.7773, allocations: 136.3 kB / 0.9594 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7773, allocations: 0 / 0.9594 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.7774, allocations: 18.02 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.7776, allocations: 21.08 kB / 0.9594 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.7784, allocations: 0.5989 MB / 0.96 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7786, allocations: 0.6824 MB / 0.9607 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.7786, allocations: 2.031 kB / 0.9607 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.7786, allocations: 19.36 kB / 0.9607 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.7786, allocations: 0 / 0.9607 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.7913, allocations: 2.148 MB / 0.9628 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.7914, allocations: 210.7 kB / 0.963 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.479, allocations: 0 / 0.963 GB, free: 0.8047 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat