Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.116/2.116, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.687/3.687, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000644/0.0006441, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.056, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001382/1.058, allocations: 0.5617 MB / 0.9814 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/1.058, allocations: 55.72 kB / 0.9815 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/1.058, allocations: 0 / 0.9815 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/1.058, allocations: 7.922 kB / 0.9815 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/1.058, allocations: 7.938 kB / 0.9815 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.614e-05/1.058, allocations: 15.98 kB / 0.9815 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/1.058, allocations: 55.89 kB / 0.9816 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/1.058, allocations: 33.28 kB / 0.9816 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/1.058, allocations: 23.86 kB / 0.9816 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/1.058, allocations: 27.78 kB / 0.9816 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/1.058, allocations: 0 / 0.9816 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/1.058, allocations: 4 kB / 0.9816 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/1.059, allocations: 15.88 kB / 0.9817 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/1.059, allocations: 37.64 kB / 0.9817 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/1.059, allocations: 70.08 kB / 0.9818 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.059, allocations: 0 / 0.9818 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.338e-06/1.059, allocations: 0 / 0.9818 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.059, allocations: 3.938 kB / 0.9818 GB, free: 5.41 MB / 0.7325 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.0004937/1.059, allocations: 388.7 kB / 0.9821 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.059, allocations: 12.03 kB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/1.059, allocations: 34.56 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/1.059, allocations: 15.81 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/1.06, allocations: 199 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/1.06, allocations: 8.188 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.06, allocations: 4 kB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/1.06, allocations: 108.6 kB / 0.9825 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.06, allocations: 7.984 kB / 0.9825 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.06, allocations: 4 kB / 0.9825 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.06, allocations: 4 kB / 0.9825 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/1.06, allocations: 43.91 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/1.061, allocations: 460.4 kB / 0.983 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/1.061, allocations: 45.16 kB / 0.983 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/1.061, allocations: 0 / 0.983 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.061, allocations: 30.78 kB / 0.9831 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 3.527e-06/1.061, allocations: 0 / 0.9831 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/1.061, allocations: 65.48 kB / 0.9831 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.061, allocations: 81.36 kB / 0.9832 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/1.062, allocations: 188 kB / 0.9834 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.062, allocations: 25.7 kB / 0.9834 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/1.062, allocations: 115.9 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/1.062, allocations: 3.906 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.062, allocations: 0 / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.062, allocations: 326.8 kB / 0.9838 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/1.062, allocations: 4 kB / 0.9838 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/1.062, allocations: 21.72 kB / 0.9839 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/1.062, allocations: 4 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.062, allocations: 0 / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/1.062, allocations: 65.53 kB / 0.9839 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.062, allocations: 4 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.062, allocations: 0 / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.062, allocations: 7.953 kB / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/1.062, allocations: 4 kB / 0.9839 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.062, allocations: 4.062 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/1.062, allocations: 11.84 kB / 0.984 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/1.062, allocations: 7.875 kB / 0.984 GB, free: 2.895 MB / 0.7325 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 () * Number of clocked 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 9.877e-05/1.062, allocations: 117.8 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/1.063, allocations: 7.906 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/1.063, allocations: 12.56 kB / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.063, allocations: 7.953 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.063, allocations: 0 / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.063, allocations: 0 / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/1.063, allocations: 474.8 kB / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.063, allocations: 4 kB / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/1.063, allocations: 4 kB / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.063, allocations: 7.953 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/1.063, allocations: 4 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.063, allocations: 0 / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.063, allocations: 0 / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/1.063, allocations: 99.52 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/1.063, allocations: 96.95 kB / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/1.063, allocations: 0 / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/1.064, allocations: 3.938 kB / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/1.064, allocations: 0 / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/1.064, allocations: 8.031 kB / 0.9848 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001394/1.064, allocations: 135.5 kB / 0.9849 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.064, allocations: 0 / 0.9849 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00036/1.064, allocations: 8 kB / 0.9849 GB, free: 1.809 MB / 0.7325 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 () * Number of clocked 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.0004818/1.065, allocations: 0.6992 MB / 0.9856 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.076e-05/1.065, allocations: 19.94 kB / 0.9856 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.065, allocations: 0 / 0.9856 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/1.065, allocations: 8 kB / 0.9856 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/1.065, allocations: 8.188 kB / 0.9856 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/1.066, allocations: 0.7839 MB / 0.9864 GB, free: 192 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/1.067, allocations: 0.7004 MB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.693e-05/1.067, allocations: 8.547 kB / 0.9871 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/1.067, allocations: 31.42 kB / 0.9871 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/1.067, allocations: 4 kB / 0.9871 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/1.135, allocations: 1.667 MB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/1.135, allocations: 191 kB / 0.9889 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.779, allocations: 0 / 0.9889 GB, free: 13.66 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat