Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.001343/0.001343, allocations: 99.7 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.001401/0.001401, allocations: 177.3 kB / 15.95 MB, free: 216 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.125/2.125, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.779/3.779, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005706, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.094, allocations: 146.8 MB / 0.9809 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001637/1.096, allocations: 0.5655 MB / 0.9814 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/1.096, allocations: 63.7 kB / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/1.097, allocations: 0 / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/1.097, allocations: 11.92 kB / 0.9815 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/1.097, allocations: 4 kB / 0.9815 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.888e-05/1.097, allocations: 15.98 kB / 0.9815 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000153/1.097, allocations: 47.89 kB / 0.9816 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/1.097, allocations: 37.28 kB / 0.9816 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/1.097, allocations: 31.78 kB / 0.9816 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/1.097, allocations: 23.86 kB / 0.9816 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/1.097, allocations: 0 / 0.9816 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/1.097, allocations: 4 kB / 0.9816 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/1.097, allocations: 7.938 kB / 0.9817 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/1.097, allocations: 41.64 kB / 0.9817 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/1.098, allocations: 74.22 kB / 0.9818 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.098, allocations: 0 / 0.9818 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.366e-06/1.098, allocations: 0 / 0.9818 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.098, allocations: 0 / 0.9818 GB, free: 5.508 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.0006409/1.098, allocations: 387.1 kB / 0.9821 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/1.098, allocations: 8.031 kB / 0.9821 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/1.098, allocations: 42.5 kB / 0.9822 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/1.098, allocations: 15.8 kB / 0.9822 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/1.099, allocations: 203.1 kB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.099, allocations: 4.188 kB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/1.099, allocations: 11.98 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/1.099, allocations: 113.3 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.099, allocations: 0 / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.099, allocations: 0 / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.099, allocations: 4 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/1.099, allocations: 47.98 kB / 0.9826 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/1.1, allocations: 472.4 kB / 0.983 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.1, allocations: 49.2 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/1.1, allocations: 4.062 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.1, allocations: 34.5 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.1, allocations: 224 / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002213/1.1, allocations: 69.45 kB / 0.9832 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/1.1, allocations: 92.98 kB / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/1.101, allocations: 167.6 kB / 0.9834 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/1.101, allocations: 29.64 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.101, allocations: 108 kB / 0.9835 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/1.101, allocations: 7.812 kB / 0.9836 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/1.101, allocations: 4 kB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002191/1.101, allocations: 318.8 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/1.101, allocations: 8 kB / 0.9839 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/1.101, allocations: 25.7 kB / 0.9839 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/1.101, allocations: 16 kB / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.101, allocations: 0 / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001211/1.101, allocations: 69.53 kB / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.101, allocations: 8 kB / 0.984 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.101, allocations: 0 / 0.984 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.102, allocations: 3.953 kB / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.102, allocations: 11.98 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.102, allocations: 0 / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/1.102, allocations: 11.84 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/1.102, allocations: 0 / 0.984 GB, free: 2.945 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 (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 0.0001413/1.102, allocations: 117.8 kB / 0.9841 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/1.102, allocations: 11.91 kB / 0.9841 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/1.102, allocations: 12.55 kB / 0.9841 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.102, allocations: 4 kB / 0.9841 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.102, allocations: 7.891 kB / 0.9842 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.102, allocations: 0 / 0.9842 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/1.103, allocations: 0.5004 MB / 0.9846 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.103, allocations: 4 kB / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/1.103, allocations: 7.953 kB / 0.9847 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.103, allocations: 4 kB / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.103, allocations: 3.984 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/1.103, allocations: 3.938 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.103, allocations: 4 kB / 0.9847 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/1.103, allocations: 140.9 kB / 0.9848 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/1.103, allocations: 93 kB / 0.9849 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.103, allocations: 0 / 0.9849 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/1.103, allocations: 4 kB / 0.9849 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/1.103, allocations: 11.88 kB / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/1.103, allocations: 3.953 kB / 0.9849 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001168/1.103, allocations: 132.9 kB / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.103, allocations: 0 / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002232/1.104, allocations: 11.91 kB / 0.9851 GB, free: 1.738 MB / 0.7325 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 () * Number of clocked 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.0007308/1.104, allocations: 0.8809 MB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001348/1.104, allocations: 27.88 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.105, allocations: 4 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/1.105, allocations: 19.92 kB / 0.986 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/1.105, allocations: 13.48 kB / 0.986 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.106, allocations: 0.7859 MB / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/1.106, allocations: 0.7004 MB / 0.9874 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.627e-05/1.106, allocations: 8.547 kB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/1.107, allocations: 31.42 kB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/1.107, allocations: 3.938 kB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/1.122, allocations: 1.616 MB / 0.989 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/1.123, allocations: 195.5 kB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.336, allocations: 0 / 0.9892 GB, free: 13.41 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat does not exist to compare? outputFormat=mat