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.001227/0.001227, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001393/0.001393, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.577/2.577, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8244, allocations: 146.8 MB / 0.9811 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001337/0.8258, allocations: 0.5614 MB / 0.9817 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.826, allocations: 55.7 kB / 0.9817 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.8261, allocations: 0 / 0.9817 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.8261, allocations: 7.922 kB / 0.9817 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.8263, allocations: 3.938 kB / 0.9818 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.853e-05/0.8264, allocations: 15.98 kB / 0.9818 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.8266, allocations: 75.78 kB / 0.9818 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.8268, allocations: 49.2 kB / 0.9819 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.8269, allocations: 19.86 kB / 0.9819 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.8269, allocations: 23.8 kB / 0.9819 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.827, allocations: 8 kB / 0.9819 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.827, allocations: 4 kB / 0.9819 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.827, allocations: 7.938 kB / 0.9819 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.8271, allocations: 37.64 kB / 0.982 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.8272, allocations: 74.22 kB / 0.9821 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8273, allocations: 3.938 kB / 0.9821 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8273, allocations: 0 / 0.9821 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8273, allocations: 0 / 0.9821 GB, free: 5.457 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.0005793/0.8279, allocations: 383.2 kB / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.8279, allocations: 12.03 kB / 0.9824 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.828, allocations: 42.5 kB / 0.9825 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.8281, allocations: 11.81 kB / 0.9825 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.8284, allocations: 204.6 kB / 0.9827 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.8284, allocations: 8.188 kB / 0.9827 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.8284, allocations: 4 kB / 0.9827 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.8287, allocations: 109.3 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8287, allocations: 0 / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8288, allocations: 8 kB / 0.9828 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.8288, allocations: 7.984 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.8289, allocations: 43.92 kB / 0.9829 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.8297, allocations: 476.4 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.8298, allocations: 49.2 kB / 0.9834 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.8299, allocations: 25.78 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.8299, allocations: 4 kB / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.8299, allocations: 38.5 kB / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.83, allocations: 0 / 0.9834 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000256/0.8302, allocations: 69.45 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8303, allocations: 85.05 kB / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.8305, allocations: 167.4 kB / 0.9837 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.8305, allocations: 25.7 kB / 0.9838 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.8306, allocations: 104 kB / 0.9839 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.8307, allocations: 16.05 kB / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.8307, allocations: 8 kB / 0.9839 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8308, allocations: 318.8 kB / 0.9842 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.8309, allocations: 8 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/0.8309, allocations: 25.72 kB / 0.9842 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.831, allocations: 12 kB / 0.9842 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.831, allocations: 0 / 0.9842 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001375/0.8311, allocations: 77.5 kB / 0.9843 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8312, allocations: 8 kB / 0.9843 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8312, allocations: 4 kB / 0.9843 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8312, allocations: 3.953 kB / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.8313, allocations: 8 kB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8313, allocations: 0 / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.8314, allocations: 11.84 kB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.8314, allocations: 0 / 0.9843 GB, free: 2.859 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.0001108/0.8315, allocations: 113.8 kB / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.8316, allocations: 19.78 kB / 0.9845 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.8316, allocations: 12.55 kB / 0.9845 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8316, allocations: 12.17 kB / 0.9845 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.8317, allocations: 0 / 0.9845 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8317, allocations: 3.938 kB / 0.9845 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.8323, allocations: 0.5004 MB / 0.985 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.8323, allocations: 3.953 kB / 0.985 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.8324, allocations: 8.125 kB / 0.985 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.8324, allocations: 7.938 kB / 0.985 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8324, allocations: 4 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.8324, allocations: 0 / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8324, allocations: 4 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.8326, allocations: 95.61 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.8328, allocations: 101 kB / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.8328, allocations: 0 / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.8329, allocations: 0 / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.8329, allocations: 7.938 kB / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.8329, allocations: 0 / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001326/0.833, allocations: 136.9 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8331, allocations: 0 / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003499/0.8334, allocations: 11.91 kB / 0.9853 GB, free: 1.707 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.0005331/0.834, allocations: 0.6383 MB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.8341, allocations: 31.98 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8341, allocations: 0 / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.8342, allocations: 15.94 kB / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.8344, allocations: 15.94 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8357, allocations: 0.6293 MB / 0.9866 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.8362, allocations: 0.7121 MB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.8363, allocations: 8.547 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.8363, allocations: 27.44 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.8363, allocations: 0 / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.8515, allocations: 1.647 MB / 0.989 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.8517, allocations: 203.3 kB / 0.9892 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.556, allocations: 0 / 0.9892 GB, free: 13.77 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