Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_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.006825/0.006825, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001565/0.001565, allocations: 200.6 kB / 16.68 MB, free: 5.934 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.53/2.53, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 77.12 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2622, allocations: 162.3 MB / 1.242 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001845/0.2641, allocations: 0.8744 MB / 1.243 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.2643, allocations: 59.72 kB / 1.243 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.2643, allocations: 0 / 1.243 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.2644, allocations: 7.875 kB / 1.243 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.2644, allocations: 19.78 kB / 1.243 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.2645, allocations: 23.98 kB / 1.243 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2646, allocations: 79.83 kB / 1.243 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2647, allocations: 49.09 kB / 1.243 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.2648, allocations: 31.8 kB / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.2649, allocations: 43.72 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2649, allocations: 8 kB / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2649, allocations: 8 kB / 1.243 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2649, allocations: 15.92 kB / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.265, allocations: 43.73 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2651, allocations: 107.7 kB / 1.243 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2651, allocations: 0 / 1.243 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2651, allocations: 4 kB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2651, allocations: 0 / 1.243 GB, free: 7.488 MB / 0.9669 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.0004158/0.2656, allocations: 399.2 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2656, allocations: 12.03 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.2657, allocations: 38.73 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.2657, allocations: 16.84 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2659, allocations: 208.3 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2659, allocations: 8.562 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2659, allocations: 12.38 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2661, allocations: 103.3 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2661, allocations: 0 / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2661, allocations: 8 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2661, allocations: 0 / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.2662, allocations: 51.86 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.2667, allocations: 464.5 kB / 1.244 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.2668, allocations: 41.09 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.2668, allocations: 21.83 kB / 1.245 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.2669, allocations: 3.938 kB / 1.245 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2669, allocations: 34.56 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2669, allocations: 0 / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.267, allocations: 57.59 kB / 1.245 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2671, allocations: 77.11 kB / 1.245 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2673, allocations: 187.1 kB / 1.245 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2673, allocations: 25.7 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.2674, allocations: 116 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.2674, allocations: 8.188 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.2674, allocations: 21.7 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2675, allocations: 322.8 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.2676, allocations: 7.984 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.2676, allocations: 21.66 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.2676, allocations: 21.72 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2676, allocations: 4 kB / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.579e-05/0.2677, allocations: 65.58 kB / 1.245 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2678, allocations: 5.875 kB / 1.245 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2678, allocations: 0 / 1.245 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2678, allocations: 4 kB / 1.245 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.2678, allocations: 4.094 kB / 1.245 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2678, allocations: 0 / 1.245 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.2679, allocations: 15.83 kB / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.2679, allocations: 4.203 kB / 1.245 GB, free: 4.871 MB / 0.9669 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.572e-05/0.268, allocations: 117.9 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.268, allocations: 23.83 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.2681, allocations: 8.562 kB / 1.246 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2681, allocations: 4 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2681, allocations: 0 / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2681, allocations: 3.938 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.2685, allocations: 474.8 kB / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2685, allocations: 4.062 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.2685, allocations: 4 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2685, allocations: 3.938 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.2685, allocations: 3.938 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2685, allocations: 0 / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2685, allocations: 0 / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.2686, allocations: 89.89 kB / 1.246 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.2687, allocations: 89.05 kB / 1.246 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2687, allocations: 3.938 kB / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.2687, allocations: 0 / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-06/0.2687, allocations: 0 / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2687, allocations: 8 kB / 1.246 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2689, allocations: 144.2 kB / 1.246 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2689, allocations: 0 / 1.246 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001722/0.269, allocations: 8 kB / 1.246 GB, free: 3.785 MB / 0.9669 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.0003648/0.2694, allocations: 0.6249 MB / 1.247 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.2695, allocations: 15.94 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2695, allocations: 0 / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.2695, allocations: 8.156 kB / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.2696, allocations: 8 kB / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2708, allocations: 1.396 MB / 1.248 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2711, allocations: 0.7002 MB / 1.249 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.2712, allocations: 8.547 kB / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.2712, allocations: 31.42 kB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.2712, allocations: 4 kB / 1.249 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4015/0.6727, allocations: 1.732 MB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.4, allocations: 11.06 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches