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.006076/0.006076, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001117/0.001117, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.533/2.533, allocations: 437 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.11 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9842/0.9855, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002103/0.9876, allocations: 0.8867 MB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.9878, allocations: 55.72 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.9878, allocations: 0 / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.9879, allocations: 7.875 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.988, allocations: 19.8 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.413e-05/0.9881, allocations: 19.98 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.9882, allocations: 79.83 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.9884, allocations: 53.09 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.9885, allocations: 35.73 kB / 1.167 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.9886, allocations: 43.78 kB / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.9886, allocations: 8 kB / 1.167 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.9886, allocations: 8 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.9886, allocations: 15.92 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.9887, allocations: 39.75 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.9888, allocations: 113.8 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9889, allocations: 0 / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9889, allocations: 0 / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9889, allocations: 0 / 1.168 GB, free: 2.414 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.0005537/0.9894, allocations: 399.3 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.9895, allocations: 12.92 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.9896, allocations: 42.73 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.9896, allocations: 16.75 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.9899, allocations: 204.3 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.99, allocations: 4.562 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.99, allocations: 12.38 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.9902, allocations: 104.4 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.9902, allocations: 0 / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.9903, allocations: 11.94 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.9903, allocations: 0 / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.9904, allocations: 51.86 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.991, allocations: 464.3 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.069e-05/0.991, allocations: 45.08 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.9911, allocations: 21.84 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.9911, allocations: 0 / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.9911, allocations: 30.56 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.9911, allocations: 0 / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.9913, allocations: 57.75 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.9914, allocations: 85.12 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.9916, allocations: 187.6 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.9916, allocations: 25.7 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.9917, allocations: 111.9 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.9917, allocations: 4 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.9917, allocations: 21.61 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9919, allocations: 322.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.9919, allocations: 12 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.9919, allocations: 17.66 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.992, allocations: 25.72 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.992, allocations: 224 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.439e-05/0.9921, allocations: 61.53 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.9921, allocations: 7.938 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9921, allocations: 64 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.9921, allocations: 8 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.9922, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9922, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.9922, allocations: 19.78 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.9923, allocations: 0 / 1.17 GB, free: 15.8 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.313e-05/0.9923, allocations: 117.8 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.9924, allocations: 11.91 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.9924, allocations: 12.56 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.9924, allocations: 4 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9924, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9924, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.9928, allocations: 474.8 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9928, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.9928, allocations: 4 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.9928, allocations: 3.938 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.9929, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.9929, allocations: 12 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9929, allocations: 3.984 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.352e-05/0.993, allocations: 77.81 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.993, allocations: 93 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.993, allocations: 3.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.9931, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.9931, allocations: 8.031 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.9931, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001042/0.9932, allocations: 144.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9932, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001784/0.9934, allocations: 8 kB / 1.171 GB, free: 14.72 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.0004257/0.9938, allocations: 0.6247 MB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.9939, allocations: 15.94 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9939, allocations: 4 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.9939, allocations: 4 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.9941, allocations: 8 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.9954, allocations: 1.399 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.9957, allocations: 0.7002 MB / 1.173 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.9957, allocations: 12.48 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.9958, allocations: 35.42 kB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.9958, allocations: 0 / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/1.013, allocations: 1.725 MB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.656, allocations: 23.77 kB / 1.175 GB, free: 10.11 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=50 --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