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.478/2.478, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001617/0.001617, allocations: 176.9 kB / 487.4 MB, free: 5.062 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.672/1.672, allocations: 221.5 MB / 0.7824 GB, free: 1.051 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.0009281/0.0009281, allocations: 99.77 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.46e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3347, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.343, allocations: 148.1 MB / 1.351 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.343, allocations: 71.31 kB / 1.351 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002007/1.345, allocations: 0.6676 MB / 1.351 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/1.345, allocations: 3.938 kB / 1.351 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.345, allocations: 4 kB / 1.351 GB, free: 33.71 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.000247/1.345, allocations: 320 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.345, allocations: 7.594 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/1.345, allocations: 1.531 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.738e-05/1.345, allocations: 178.8 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/1.345, allocations: 0.6562 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/1.346, allocations: 0.75 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.628e-05/1.346, allocations: 3.875 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.567e-05/1.346, allocations: 35.92 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/1.346, allocations: 0 / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/1.346, allocations: 0 / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/1.346, allocations: 0 / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/1.346, allocations: 140.7 kB / 1.352 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/1.346, allocations: 22.81 kB / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/1.346, allocations: 12.64 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/1.346, allocations: 0.7969 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/1.346, allocations: 34.56 kB / 1.352 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.346, allocations: 0 / 1.352 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.00012/1.346, allocations: 38.2 kB / 1.352 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/1.346, allocations: 52.16 kB / 1.352 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/1.346, allocations: 95.8 kB / 1.352 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/1.346, allocations: 26.5 kB / 1.352 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/1.346, allocations: 80.14 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/1.346, allocations: 8.531 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/1.346, allocations: 0 / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.346, allocations: 319.8 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/1.346, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/1.346, allocations: 3.844 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/1.346, allocations: 5.625 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.346, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.558e-05/1.346, allocations: 43.2 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.346, allocations: 7.406 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.346, allocations: 4.094 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/1.346, allocations: 0.7031 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/1.347, allocations: 5 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.347, allocations: 0.6094 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/1.347, allocations: 4.562 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/1.347, allocations: 0 / 1.353 GB, free: 32.23 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.704e-05/1.347, allocations: 101.6 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.518e-05/1.347, allocations: 51.28 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/1.347, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/1.347, allocations: 4.547 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/1.347, allocations: 5.266 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.347, allocations: 0 / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/1.347, allocations: 0.6094 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.542e-05/1.347, allocations: 133.7 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.347, allocations: 0 / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/1.347, allocations: 9.281 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.347, allocations: 6.531 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.347, allocations: 0 / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.347, allocations: 4.031 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.347, allocations: 0.7969 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.892e-05/1.347, allocations: 58.53 kB / 1.353 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/1.347, allocations: 81.02 kB / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/1.347, allocations: 8.594 kB / 1.353 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/1.347, allocations: 9.047 kB / 1.353 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/1.347, allocations: 8.672 kB / 1.353 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.347, allocations: 3.688 kB / 1.353 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.284e-05/1.347, allocations: 85.81 kB / 1.353 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.347, allocations: 0 / 1.353 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002046/1.347, allocations: 0 / 1.353 GB, free: 31.65 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.0003506/1.348, allocations: 0.5973 MB / 1.354 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.727e-05/1.348, allocations: 6.078 kB / 1.354 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.348, allocations: 0 / 1.354 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/1.348, allocations: 10.12 kB / 1.354 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.343e-05/1.348, allocations: 7.297 kB / 1.354 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/1.348, allocations: 77.2 kB / 1.354 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.348, allocations: 0.6776 MB / 1.355 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.339e-05/1.349, allocations: 4.125 kB / 1.355 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/1.349, allocations: 12.59 kB / 1.355 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.349, allocations: 1.281 kB / 1.355 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/1.367, allocations: 0.5813 MB / 1.355 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.367, allocations: 156.2 kB / 1.355 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.836, allocations: 0 / 1.355 GB, free: 30.01 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