Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 387.4 MB / 394.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 172.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 106.6 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.661e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2872, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.979/1.266, allocations: 148.1 MB / 1.351 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/1.266, allocations: 68.41 kB / 1.351 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002751/1.269, allocations: 0.7655 MB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.269, allocations: 3.75 kB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.269, allocations: 0 / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003836/1.27, allocations: 354.2 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.27, allocations: 10.52 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/1.27, allocations: 6 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/1.27, allocations: 166.5 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.27, allocations: 3.828 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/1.27, allocations: 1.344 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.561e-05/1.27, allocations: 23.34 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/1.27, allocations: 44.41 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.27, allocations: 1.312 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.27, allocations: 3.938 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.27, allocations: 0 / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/1.271, allocations: 253.2 kB / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.686e-05/1.271, allocations: 34.3 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/1.271, allocations: 13.55 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.271, allocations: 1.875 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/1.271, allocations: 35.11 kB / 1.352 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.271, allocations: 1.344 kB / 1.352 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/1.271, allocations: 42 kB / 1.352 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/1.271, allocations: 56.72 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/1.271, allocations: 95.19 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/1.271, allocations: 25.7 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/1.271, allocations: 85.78 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/1.271, allocations: 5.672 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/1.271, allocations: 0 / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.271, allocations: 321.1 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/1.271, allocations: 6.719 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/1.271, allocations: 23.03 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/1.271, allocations: 8.156 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.271, allocations: 0 / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.538e-05/1.271, allocations: 54.56 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/1.271, allocations: 90.77 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.271, allocations: 0 / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.271, allocations: 7 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/1.272, allocations: 19.66 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.272, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/1.272, allocations: 24.44 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/1.272, allocations: 5.812 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/1.272, allocations: 3.719 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.81e-05/1.272, allocations: 13.02 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.42e-07/1.272, allocations: 1.422 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-06/1.272, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/1.272, allocations: 15.17 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/1.272, allocations: 4.734 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/1.272, allocations: 12.31 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-06/1.272, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.286e-05/1.272, allocations: 106.3 kB / 1.353 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.145e-05/1.272, allocations: 47.23 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/1.272, allocations: 1.922 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/1.272, allocations: 5.797 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/1.272, allocations: 2.094 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.272, allocations: 0 / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.272, allocations: 3.938 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/1.272, allocations: 150.8 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.272, allocations: 0 / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/1.272, allocations: 26.12 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.272, allocations: 0 / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/1.272, allocations: 3.094 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.272, allocations: 0.6562 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.272, allocations: 1.312 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/1.273, allocations: 145 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/1.273, allocations: 79.58 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/1.273, allocations: 3.953 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.273, allocations: 14.23 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/1.273, allocations: 3.781 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.273, allocations: 0.7969 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.366e-05/1.273, allocations: 84.62 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.273, allocations: 0 / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002782/1.273, allocations: 12.45 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003849/1.274, allocations: 0.6763 MB / 1.355 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001059/1.274, allocations: 23.61 kB / 1.355 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.274, allocations: 1.406 kB / 1.355 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/1.274, allocations: 13.2 kB / 1.355 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/1.274, allocations: 8 kB / 1.355 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/1.274, allocations: 107.2 kB / 1.355 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/1.275, allocations: 0.6804 MB / 1.355 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.783e-05/1.275, allocations: 14.38 kB / 1.355 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/1.275, allocations: 12.45 kB / 1.355 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.275, allocations: 0 / 1.355 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/1.295, allocations: 0.9106 MB / 1.356 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.295, allocations: 148.6 kB / 1.356 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.773, allocations: 7.875 kB / 1.357 GB, free: 29.7 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat does not exist to compare? outputFormat=mat