Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008082/0.008082, allocations: 102 kB / 15.73 MB, free: 6.039 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.001743/0.001743, allocations: 194.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8471, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002103/0.8493, allocations: 0.8862 MB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.8494, allocations: 54.72 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.8495, allocations: 2 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.8495, allocations: 9.891 kB / 1.088 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.8496, allocations: 9.375 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.033e-05/0.8497, allocations: 23.53 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.8498, allocations: 82.8 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.85, allocations: 58.72 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.8501, allocations: 28.91 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.8501, allocations: 40.8 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.8502, allocations: 7.688 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.8502, allocations: 7.938 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.8502, allocations: 21.88 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.8503, allocations: 42.14 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.8504, allocations: 103.5 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8504, allocations: 0 / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8505, allocations: 1.094 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.8505, allocations: 3.938 kB / 1.089 GB, free: 4.41 MB / 0.8575 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.0004217/0.8509, allocations: 399.7 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8509, allocations: 9.656 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.851, allocations: 40.41 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.851, allocations: 14.84 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.8512, allocations: 202 kB / 1.089 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8512, allocations: 15.73 kB / 1.089 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.8513, allocations: 10.69 kB / 1.089 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.8514, allocations: 111.2 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.8515, allocations: 0 / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.8515, allocations: 1.156 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8515, allocations: 1.906 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.8516, allocations: 44.19 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.8521, allocations: 478.4 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.8521, allocations: 33.83 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.8522, allocations: 24.03 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.8522, allocations: 1.688 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.8522, allocations: 35.84 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.8522, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.8524, allocations: 54.03 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.8524, allocations: 78.69 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.8526, allocations: 193 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.8526, allocations: 26.41 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.8527, allocations: 113.8 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.8527, allocations: 9.625 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.8527, allocations: 14.06 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.8528, allocations: 321 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.8528, allocations: 7.766 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.8528, allocations: 15.69 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.8529, allocations: 35.45 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8529, allocations: 0 / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.837e-05/0.853, allocations: 62.41 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.853, allocations: 6.172 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.853, allocations: 0 / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.853, allocations: 5.125 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.8531, allocations: 7.219 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.8531, allocations: 0 / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.8531, allocations: 15.73 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.8531, allocations: 5.125 kB / 1.091 GB, free: 2.219 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.8532, allocations: 115.1 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.8532, allocations: 12.59 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.8533, allocations: 14.03 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8533, allocations: 0.8438 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8533, allocations: 1.672 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8533, allocations: 4.688 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.8536, allocations: 476.2 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8536, allocations: 0.8906 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.8536, allocations: 7 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8537, allocations: 5.609 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.8537, allocations: 1.125 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8537, allocations: 1.062 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8537, allocations: 0.5156 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.878e-05/0.8538, allocations: 86.52 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.8538, allocations: 92.2 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.8538, allocations: 8.734 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.8538, allocations: 0.9688 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.8539, allocations: 1.828 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.8539, allocations: 1.031 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.97e-05/0.854, allocations: 137.8 kB / 1.092 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.854, allocations: 4.031 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001921/0.8542, allocations: 8.656 kB / 1.092 GB, free: 1.297 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004115/0.8546, allocations: 0.6126 MB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.8547, allocations: 21.09 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8547, allocations: 4 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.8547, allocations: 8.109 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.8549, allocations: 8.531 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.8563, allocations: 1.399 MB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.8568, allocations: 0.7018 MB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.8569, allocations: 12.77 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.8569, allocations: 30.42 kB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.857, allocations: 0 / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.8912, allocations: 1.757 MB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.809, allocations: 0.875 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches