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.0009127/0.0009127, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009011/0.0009012, allocations: 177.3 kB / 15.94 MB, free: 228 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.399/2.399, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003826, allocations: 12 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8179, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009317/0.8189, allocations: 442.5 kB / 0.954 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.8201, allocations: 1.091 MB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.8202, allocations: 1.25 kB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.8202, allocations: 3.938 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.8203, allocations: 14.69 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.8207, allocations: 113.6 kB / 0.9552 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.8208, allocations: 57.27 kB / 0.9553 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.8209, allocations: 5.156 kB / 0.9553 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.821, allocations: 40.86 kB / 0.9553 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.8211, allocations: 24.44 kB / 0.9554 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.8212, allocations: 4.969 kB / 0.9554 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.8212, allocations: 17.98 kB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.8213, allocations: 10.48 kB / 0.9554 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.8213, allocations: 36.52 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.8214, allocations: 99.39 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.8215, allocations: 0 / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8215, allocations: 0 / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.8215, allocations: 0 / 0.9555 GB, free: 6.621 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.0004067/0.8219, allocations: 380.9 kB / 0.9559 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8219, allocations: 9.125 kB / 0.9559 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.822, allocations: 32.12 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.822, allocations: 12.02 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.8221, allocations: 188.4 kB / 0.9561 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.8222, allocations: 10.78 kB / 0.9561 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.8222, allocations: 9.156 kB / 0.9561 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.782e-05/0.8223, allocations: 44.17 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.8223, allocations: 0 / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.8223, allocations: 1.125 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.8223, allocations: 0 / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.8224, allocations: 19.12 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.8228, allocations: 326.6 kB / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.8228, allocations: 29.98 kB / 0.9565 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.8229, allocations: 1.406 kB / 0.9565 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.823, allocations: 63.61 kB / 0.9566 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.823, allocations: 0 / 0.9566 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001987/0.8232, allocations: 86.11 kB / 0.9567 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.8233, allocations: 55.39 kB / 0.9567 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.8233, allocations: 127.2 kB / 0.9568 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8234, allocations: 28.8 kB / 0.9569 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.8234, allocations: 91.06 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.8235, allocations: 9.562 kB / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.8235, allocations: 2.75 kB / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.8235, allocations: 315.9 kB / 0.9573 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.8236, allocations: 37.86 kB / 0.9573 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.8237, allocations: 53.86 kB / 0.9574 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.8238, allocations: 68.59 kB / 0.9574 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8238, allocations: 0 / 0.9574 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002437/0.8241, allocations: 161 kB / 0.9576 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.8241, allocations: 33.27 kB / 0.9576 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8241, allocations: 5.031 kB / 0.9576 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8241, allocations: 4.984 kB / 0.9576 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.8242, allocations: 2.219 kB / 0.9576 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8242, allocations: 1.094 kB / 0.9576 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.8244, allocations: 55.39 kB / 0.9577 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.8245, allocations: 4.406 kB / 0.9577 GB, free: 4.453 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 8.457e-05/0.8246, allocations: 116.5 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.8246, allocations: 6.062 kB / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.8246, allocations: 14.14 kB / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8246, allocations: 5.078 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8246, allocations: 0 / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8246, allocations: 0 / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.8247, allocations: 176.2 kB / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8247, allocations: 0 / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.8248, allocations: 6.078 kB / 0.958 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8248, allocations: 0 / 0.958 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.8248, allocations: 1.125 kB / 0.958 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8248, allocations: 5.094 kB / 0.958 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.8248, allocations: 11.89 kB / 0.958 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.8249, allocations: 87.33 kB / 0.9581 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.8249, allocations: 87.64 kB / 0.9582 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.825, allocations: 3.984 kB / 0.9582 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.825, allocations: 0.7812 kB / 0.9582 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.825, allocations: 2.469 kB / 0.9582 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.825, allocations: 8.891 kB / 0.9582 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.8251, allocations: 102.5 kB / 0.9583 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8251, allocations: 0 / 0.9583 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002167/0.8253, allocations: 16.31 kB / 0.9583 GB, free: 3.797 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.0003322/0.8256, allocations: 0.6276 MB / 0.9589 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.8259, allocations: 128.4 kB / 0.959 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8259, allocations: 5.375 kB / 0.959 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.8259, allocations: 20.98 kB / 0.9591 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.8261, allocations: 15.48 kB / 0.9591 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.8266, allocations: 0.6634 MB / 0.9597 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.8268, allocations: 0.6883 MB / 0.9604 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.8268, allocations: 6.625 kB / 0.9604 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.8268, allocations: 23.05 kB / 0.9604 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8268, allocations: 0 / 0.9604 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.839, allocations: 2.11 MB / 0.9625 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.8392, allocations: 192.1 kB / 0.9627 GB, free: 440 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.467, allocations: 1.375 kB / 0.9627 GB, free: 440 kB / 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