Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.286/2.286, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001103/0.001102, allocations: 180.8 kB / 487.4 MB, free: 5.066 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.47/1.47, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.0009197/0.0009198, allocations: 91.86 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.971e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3006, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.323, allocations: 148.1 MB / 1.351 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.323, allocations: 60.84 kB / 1.351 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003349/1.327, allocations: 1.083 MB / 1.352 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.327, allocations: 1.281 kB / 1.352 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.327, allocations: 5.188 kB / 1.352 GB, free: 34.11 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003463/1.327, allocations: 358.3 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.327, allocations: 9.984 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/1.327, allocations: 9 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/1.327, allocations: 180.9 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/1.327, allocations: 5.125 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/1.327, allocations: 13.12 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.587e-05/1.328, allocations: 29.36 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.328, allocations: 81.59 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.328, allocations: 0 / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.328, allocations: 3.984 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/1.328, allocations: 2.531 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/1.328, allocations: 411.2 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/1.328, allocations: 36.8 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/1.328, allocations: 23.14 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/1.328, allocations: 0 / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/1.328, allocations: 36.58 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/1.328, allocations: 0 / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/1.329, allocations: 40.11 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/1.329, allocations: 87.86 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.329, allocations: 112.1 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/1.329, allocations: 25.7 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.329, allocations: 108 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/1.329, allocations: 5.969 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/1.329, allocations: 0 / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.329, allocations: 317.7 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/1.329, allocations: 7.562 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/1.329, allocations: 23.39 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/1.329, allocations: 8.297 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.329, allocations: 1.344 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.424e-05/1.329, allocations: 58.66 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.329, allocations: 5.281 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.329, allocations: 0 / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.329, allocations: 1.984 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/1.329, allocations: 9.797 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.329, allocations: 6.578 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/1.329, allocations: 5.25 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/1.329, allocations: 2.109 kB / 1.354 GB, free: 32.29 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 (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 prepare postOptimizeDAE: time 6.637e-05/1.329, allocations: 102.3 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.073e-05/1.33, allocations: 52.88 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/1.33, allocations: 3.422 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/1.33, allocations: 6.078 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/1.33, allocations: 6.047 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.33, allocations: 5.406 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.33, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/1.33, allocations: 446.1 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.33, allocations: 1.531 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/1.33, allocations: 10.89 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.33, allocations: 5.219 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/1.33, allocations: 2.141 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.33, allocations: 0 / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.33, allocations: 5.375 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/1.33, allocations: 79.3 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/1.33, allocations: 85.52 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/1.33, allocations: 1.938 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/1.33, allocations: 4.688 kB / 1.355 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/1.33, allocations: 6.125 kB / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/1.33, allocations: 2.109 kB / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.359e-05/1.33, allocations: 96.5 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.33, allocations: 1.281 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001767/1.33, allocations: 10.41 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003781/1.331, allocations: 0.6893 MB / 1.355 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.383e-05/1.331, allocations: 15.75 kB / 1.355 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.331, allocations: 0 / 1.355 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/1.331, allocations: 11.38 kB / 1.355 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/1.331, allocations: 1.031 kB / 1.355 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/1.332, allocations: 142.1 kB / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/1.332, allocations: 0.695 MB / 1.356 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.661e-05/1.332, allocations: 6.031 kB / 1.356 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/1.332, allocations: 24.59 kB / 1.356 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.332, allocations: 0 / 1.356 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/1.353, allocations: 0.8822 MB / 1.357 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.353, allocations: 155.9 kB / 1.357 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.343/2.696, allocations: 2.25 kB / 1.357 GB, free: 29.61 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat does not exist to compare? outputFormat=mat