Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.68/2.68, 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.001355/0.001355, allocations: 184.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.546/1.546, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 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.001076/0.001076, allocations: 98.97 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.524e-05, allocations: 6 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8524/1.169, allocations: 148.1 MB / 1.351 GB, free: 17.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001605/1.169, allocations: 63.36 kB / 1.351 GB, free: 17.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003265/1.172, allocations: 1.272 MB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.172, allocations: 4 kB / 1.352 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.172, allocations: 2.562 kB / 1.352 GB, free: 33.61 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003479/1.172, allocations: 374.8 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.172, allocations: 9.859 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/1.172, allocations: 16.19 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.173, allocations: 181.5 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.173, allocations: 2.625 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.173, allocations: 5.188 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001173/1.173, allocations: 42.86 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/1.173, allocations: 100.2 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.173, allocations: 0 / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.173, allocations: 0 / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.173, allocations: 0 / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/1.174, allocations: 440.9 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/1.174, allocations: 52.03 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/1.174, allocations: 32.39 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/1.174, allocations: 0 / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/1.174, allocations: 32.7 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/1.174, allocations: 0 / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001742/1.174, allocations: 57.67 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/1.174, allocations: 78.95 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.174, allocations: 126.3 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/1.174, allocations: 25.7 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/1.174, allocations: 117.5 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/1.174, allocations: 13.7 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/1.174, allocations: 1.422 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.174, allocations: 319.2 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/1.174, allocations: 8.625 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/1.174, allocations: 20.55 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/1.174, allocations: 22.81 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.174, allocations: 0 / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.168e-05/1.175, allocations: 69.27 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.175, allocations: 7.875 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.175, allocations: 0.75 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.175, allocations: 0 / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/1.175, allocations: 10.34 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.175, allocations: 3.906 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/1.175, allocations: 3.906 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/1.175, allocations: 0.9531 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.471e-05/1.175, allocations: 116.1 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.405e-05/1.175, allocations: 50.95 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/1.175, allocations: 8.469 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/1.175, allocations: 16.44 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.175, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.175, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.175, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/1.175, allocations: 0.4895 MB / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.175, allocations: 0 / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/1.175, allocations: 10.55 kB / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.175, allocations: 0 / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/1.175, allocations: 0.7969 kB / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.175, allocations: 7.953 kB / 1.355 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.175, allocations: 0 / 1.355 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.331e-05/1.175, allocations: 138.3 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/1.175, allocations: 95.94 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/1.176, allocations: 3.953 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.563e-05/1.176, allocations: 0.5625 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/1.176, allocations: 4.547 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.176, allocations: 0.7969 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.18e-05/1.176, allocations: 105.2 kB / 1.355 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.176, allocations: 0 / 1.355 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002147/1.176, allocations: 15.5 kB / 1.355 GB, free: 30.81 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004176/1.176, allocations: 0.8784 MB / 1.356 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.027e-05/1.176, allocations: 22.83 kB / 1.356 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.176, allocations: 3.938 kB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/1.176, allocations: 15.73 kB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/1.177, allocations: 5.109 kB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/1.177, allocations: 167.2 kB / 1.356 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/1.177, allocations: 0.7134 MB / 1.357 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.31e-05/1.177, allocations: 6.047 kB / 1.357 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/1.177, allocations: 29.39 kB / 1.357 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.177, allocations: 0 / 1.357 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/1.195, allocations: 1.035 MB / 1.358 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.195, allocations: 153.9 kB / 1.358 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/2.609, allocations: 0 / 1.358 GB, free: 28.79 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat does not exist to compare? outputFormat=mat