Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.453/2.453, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001548/0.001548, allocations: 180.4 kB / 492.3 MB, free: 0.6094 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.649/1.649, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 94.64 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.294e-05, allocations: 8 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3115, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.98/1.292, allocations: 148.7 MB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/1.292, allocations: 68.66 kB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002376/1.294, allocations: 0.6807 MB / 1.358 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.294, allocations: 0 / 1.358 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.294, allocations: 0 / 1.358 GB, free: 34.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002894/1.294, allocations: 319.6 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.295, allocations: 7.594 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/1.295, allocations: 34 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/1.295, allocations: 5.25 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.295, allocations: 171.7 kB / 1.359 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/1.295, allocations: 4 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/1.295, allocations: 0.6562 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/1.295, allocations: 35.64 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/1.295, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/1.295, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.295, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/1.295, allocations: 7.688 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/1.295, allocations: 156.5 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/1.295, allocations: 26.97 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/1.295, allocations: 4.859 kB / 1.359 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/1.295, allocations: 0 / 1.359 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/1.295, allocations: 38.94 kB / 1.359 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.295, allocations: 0 / 1.359 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/1.295, allocations: 38.03 kB / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/1.295, allocations: 52.16 kB / 1.359 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/1.295, allocations: 101.6 kB / 1.359 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/1.296, allocations: 25.7 kB / 1.359 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/1.296, allocations: 84.77 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/1.296, allocations: 0.6562 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/1.296, allocations: 0 / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.296, allocations: 314.9 kB / 1.36 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/1.296, allocations: 1.641 kB / 1.36 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/1.296, allocations: 4.016 kB / 1.36 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/1.296, allocations: 15.33 kB / 1.36 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.296, allocations: 3.938 kB / 1.36 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.67e-05/1.296, allocations: 45.92 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.296, allocations: 4.547 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.296, allocations: 0 / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.296, allocations: 2.438 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/1.296, allocations: 5.469 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.296, allocations: 0.6562 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/1.296, allocations: 4.469 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/1.296, allocations: 4.031 kB / 1.36 GB, free: 33.17 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 (1): * Single equations (assignments): 1 * 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.738e-05/1.296, allocations: 110.8 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/1.296, allocations: 0 / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/1.296, allocations: 4.391 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.296, allocations: 1.312 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.296, allocations: 0 / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/1.296, allocations: 0.7031 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.898e-05/1.296, allocations: 152.6 kB / 1.36 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.296, allocations: 3.953 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/1.296, allocations: 9.75 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.296, allocations: 3.969 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.296, allocations: 0.6562 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.296, allocations: 0 / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.296, allocations: 3.938 kB / 1.36 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.819e-05/1.296, allocations: 61.7 kB / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/1.297, allocations: 81.77 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.297, allocations: 11.77 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/1.297, allocations: 4.516 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/1.297, allocations: 0.7031 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/1.297, allocations: 0.7031 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.822e-05/1.297, allocations: 86.52 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.297, allocations: 0 / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001856/1.297, allocations: 0 / 1.36 GB, free: 32.61 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 (1): * Single equations (assignments): 1 * 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.0003455/1.297, allocations: 0.6088 MB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.574e-05/1.297, allocations: 11.47 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.297, allocations: 0 / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/1.297, allocations: 7.359 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.409e-05/1.297, allocations: 0 / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/1.298, allocations: 85.88 kB / 1.361 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/1.298, allocations: 0.6769 MB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.498e-05/1.298, allocations: 0 / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/1.298, allocations: 12.69 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of SimCode: time 3e-07/1.298, allocations: 3.844 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/1.309, allocations: 0.8892 MB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.309, allocations: 164.4 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.76, allocations: 0 / 1.363 GB, free: 30.84 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat does not exist to compare? outputFormat=mat