Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.0009369/0.0009369, allocations: 188.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009251/0.0009252, allocations: 95.91 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.018e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2687, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8732/1.142, allocations: 149.6 MB / 1.365 GB, free: 4.422 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/1.142, allocations: 68.2 kB / 1.365 GB, free: 4.383 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003075/1.145, allocations: 1.281 MB / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.855e-06/1.145, allocations: 3.984 kB / 1.366 GB, free: 3.258 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.145, allocations: 0 / 1.366 GB, free: 3.258 MB / 0.823 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.0003733/1.146, allocations: 373.2 kB / 1.367 GB, free: 2.855 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/1.146, allocations: 12.03 kB / 1.367 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/1.146, allocations: 42.05 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/1.146, allocations: 15.81 kB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/1.146, allocations: 174.9 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.146, allocations: 7.688 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/1.146, allocations: 11.5 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.146, allocations: 102 kB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.146, allocations: 0 / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.146, allocations: 11.12 kB / 1.367 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.146, allocations: 3.984 kB / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/1.146, allocations: 52.23 kB / 1.367 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/1.147, allocations: 488.7 kB / 1.368 GB, free: 1.941 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/1.147, allocations: 52.7 kB / 1.368 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/1.147, allocations: 28.59 kB / 1.368 GB, free: 1.848 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/1.147, allocations: 3.562 kB / 1.368 GB, free: 1.848 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.147, allocations: 39 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/1.147, allocations: 0 / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001769/1.147, allocations: 60.05 kB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/1.148, allocations: 81.09 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/1.148, allocations: 157.6 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.148, allocations: 25.7 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/1.148, allocations: 116 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/1.148, allocations: 7.812 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.148, allocations: 3.062 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.148, allocations: 325.8 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/1.148, allocations: 7.125 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/1.148, allocations: 27.91 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/1.148, allocations: 15.36 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.148, allocations: 0 / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001043/1.148, allocations: 74.34 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.148, allocations: 9.094 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.148, allocations: 0 / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.148, allocations: 0 / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/1.148, allocations: 11.94 kB / 1.369 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.148, allocations: 4.609 kB / 1.369 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/1.148, allocations: 11.84 kB / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/1.148, allocations: 0.875 kB / 1.369 GB, free: 0.8828 MB / 0.823 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 6.408e-05/1.148, allocations: 108.9 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/1.149, allocations: 14.84 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/1.149, allocations: 11.81 kB / 1.369 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.149, allocations: 0 / 1.369 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.149, allocations: 0 / 1.369 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/1.149, allocations: 0 / 1.369 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/1.149, allocations: 0.5104 MB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.149, allocations: 8.156 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/1.149, allocations: 11.98 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.149, allocations: 4 kB / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.149, allocations: 0 / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.149, allocations: 0 / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.149, allocations: 4 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/1.149, allocations: 146.7 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/1.149, allocations: 100.4 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/1.149, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.91e-05/1.149, allocations: 4 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/1.149, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.149, allocations: 11.94 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.895e-05/1.15, allocations: 126.3 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.15, allocations: 0 / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001801/1.15, allocations: 15.94 kB / 1.37 GB, free: 15.75 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.0005263/1.15, allocations: 0.8854 MB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.15, allocations: 31 kB / 1.37 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.15, allocations: 0 / 1.37 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/1.15, allocations: 15.69 kB / 1.37 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/1.151, allocations: 15.7 kB / 1.37 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/1.151, allocations: 169.7 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.151, allocations: 0.7084 MB / 1.371 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.382e-05/1.151, allocations: 8.547 kB / 1.371 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/1.151, allocations: 24.31 kB / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.151, allocations: 0 / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/1.163, allocations: 1.61 MB / 1.373 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.163, allocations: 169.2 kB / 1.373 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.68, allocations: 0 / 1.373 GB, free: 12.14 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat does not exist to compare? outputFormat=mat