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.169/2.169, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001236/0.001236, allocations: 165.2 kB / 498.1 MB, free: 5.738 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.409/1.409, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008757/0.0008756, allocations: 94.45 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 11.66 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2599, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.432, allocations: 148.8 MB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4323, allocations: 71.95 kB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001726/0.434, allocations: 0.6758 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4341, allocations: 3.938 kB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4341, allocations: 0 / 1.369 GB, free: 12.41 MB / 0.8698 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.0002909/0.4344, allocations: 335.3 kB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4344, allocations: 8.031 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.4345, allocations: 30.56 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.4345, allocations: 4 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4346, allocations: 167 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4346, allocations: 3.984 kB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.4346, allocations: 0 / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4348, allocations: 37.7 kB / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.4348, allocations: 3.938 kB / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.4348, allocations: 0 / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4348, allocations: 3.984 kB / 1.37 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.4349, allocations: 16 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.435, allocations: 157.6 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.4351, allocations: 30.59 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.4351, allocations: 0 / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.4351, allocations: 30.56 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.4351, allocations: 4 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001952/0.4353, allocations: 61.67 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.4354, allocations: 55.41 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.4355, allocations: 89 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.4355, allocations: 25.7 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.4355, allocations: 84.14 kB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4355, allocations: 8.031 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.4356, allocations: 4 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.4357, allocations: 322.7 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.4357, allocations: 8 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.4357, allocations: 11.98 kB / 1.37 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.4358, allocations: 8 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4358, allocations: 4.062 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001095/0.4359, allocations: 53.62 kB / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4359, allocations: 5.562 kB / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4359, allocations: 0 / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4359, allocations: 0 / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.436, allocations: 7.984 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.436, allocations: 0 / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.4361, allocations: 8.281 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4361, allocations: 4 kB / 1.371 GB, free: 10.63 MB / 0.8698 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 () * Number of clocked 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 7.055e-05/0.4362, allocations: 109.8 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.4362, allocations: 4 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.4362, allocations: 11.11 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4362, allocations: 3.938 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4362, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4362, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.4363, allocations: 161.6 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4363, allocations: 4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.4364, allocations: 4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4364, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.4364, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4364, allocations: 7.984 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4364, allocations: 3.984 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4366, allocations: 84.97 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.4366, allocations: 81.06 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4367, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.141e-05/0.4367, allocations: 4 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.4367, allocations: 3.984 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.4367, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.4368, allocations: 79.28 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4368, allocations: 0 / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001789/0.437, allocations: 4 kB / 1.371 GB, free: 9.977 MB / 0.8698 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 () * Number of clocked 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.0004051/0.4374, allocations: 0.6239 MB / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4375, allocations: 23.95 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4375, allocations: 4 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.4376, allocations: 8 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.703e-05/0.4377, allocations: 7.938 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.438, allocations: 146.4 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.4383, allocations: 0.6848 MB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.4383, allocations: 0 / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.4383, allocations: 7.438 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.4383, allocations: 0 / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.4506, allocations: 0.8848 MB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.4509, allocations: 194.8 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.15, allocations: 0 / 1.374 GB, free: 7.391 MB / 0.8698 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