Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_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.004947/0.004947, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001413/0.001413, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.274/1.274, 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 10.1.1-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437.1 MB / 0.7105 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.84 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6436, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001911/0.6456, allocations: 0.8866 MB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.6457, allocations: 51.78 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.6458, allocations: 4 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.6458, allocations: 11.81 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.6459, allocations: 15.84 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.56e-05/0.646, allocations: 23.98 kB / 1.167 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.6461, allocations: 83.77 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.6462, allocations: 41.11 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.6463, allocations: 35.8 kB / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.6464, allocations: 39.78 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.6464, allocations: 8 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.692e-05/0.6464, allocations: 8 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.6464, allocations: 23.91 kB / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.6465, allocations: 39.75 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.6466, allocations: 99.14 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6466, allocations: 0 / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6466, allocations: 0 / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.6466, allocations: 4 kB / 1.168 GB, free: 2.395 MB / 0.8887 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.0004413/0.6471, allocations: 407.2 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6471, allocations: 12.56 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.6472, allocations: 42.73 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.6472, allocations: 12.84 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.6474, allocations: 212.3 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.6474, allocations: 4.562 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.6475, allocations: 8.375 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.6476, allocations: 112.9 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.6477, allocations: 4 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6477, allocations: 4 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.6477, allocations: 4 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.6478, allocations: 43.92 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.6483, allocations: 460.5 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.6484, allocations: 45.16 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.6484, allocations: 17.77 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.6484, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6485, allocations: 38.56 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.6485, allocations: 0 / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001542/0.6486, allocations: 57.55 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.6487, allocations: 77.11 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.6489, allocations: 183.4 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.6489, allocations: 25.7 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.649, allocations: 116 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.649, allocations: 7.938 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.649, allocations: 21.7 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6492, allocations: 323.2 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.6492, allocations: 7.984 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.6492, allocations: 25.66 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.6493, allocations: 21.72 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6493, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.594e-05/0.6493, allocations: 65.53 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6494, allocations: 12.06 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.6494, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6494, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.6494, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6495, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.6495, allocations: 4.031 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.6495, allocations: 8 kB / 1.17 GB, free: 15.78 MB / 0.9044 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 8.648e-05/0.6496, allocations: 121.8 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.6496, allocations: 15.89 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.6497, allocations: 16.56 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.6497, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6497, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6497, allocations: 11.88 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.6501, allocations: 466.9 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6501, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.6501, allocations: 7.938 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6501, allocations: 4 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.6502, allocations: 4 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6502, allocations: 4 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6502, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/0.6503, allocations: 81.89 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.6503, allocations: 89.05 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.6503, allocations: 3.938 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.6504, allocations: 8.031 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.6504, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6504, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001138/0.6505, allocations: 148.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6505, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001791/0.6507, allocations: 8 kB / 1.171 GB, free: 14.69 MB / 0.9044 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.0003854/0.6511, allocations: 0.621 MB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.002e-05/0.6512, allocations: 19.94 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6512, allocations: 0 / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.6512, allocations: 7.938 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.6514, allocations: 8 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.6526, allocations: 1.403 MB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.6529, allocations: 0.7002 MB / 1.173 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.653, allocations: 12.55 kB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.653, allocations: 27.42 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.653, allocations: 0 / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/1.683, allocations: 1.736 MB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/12.19, allocations: 16.59 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches