Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001302/0.001301, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8917, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00231/0.894, allocations: 0.871 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001699/0.8942, allocations: 55.72 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.8943, allocations: 0 / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.8943, allocations: 11.86 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.8944, allocations: 15.86 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.5e-05/0.8945, allocations: 23.98 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.8947, allocations: 83.77 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.8948, allocations: 49.08 kB / 1.21 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.8949, allocations: 31.81 kB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.895, allocations: 43.72 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.895, allocations: 8 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.895, allocations: 8 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.8951, allocations: 15.92 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.8951, allocations: 51.72 kB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.8953, allocations: 99.36 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8953, allocations: 0 / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8953, allocations: 0 / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8953, allocations: 0 / 1.21 GB, free: 12.28 MB / 0.9356 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.000478/0.8958, allocations: 401.2 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8958, allocations: 8.031 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.8959, allocations: 12.75 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.8961, allocations: 212.3 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.8961, allocations: 0.5625 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.8962, allocations: 20.3 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.8964, allocations: 103.5 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8964, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.8964, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.8964, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.8965, allocations: 51.91 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.8972, allocations: 468.2 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.8973, allocations: 37.22 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.8973, allocations: 21.72 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.8973, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.8974, allocations: 34.56 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8974, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.8975, allocations: 53.78 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.8976, allocations: 85.11 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.8979, allocations: 183.2 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.8979, allocations: 25.7 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.898, allocations: 112 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.898, allocations: 11.89 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.898, allocations: 17.62 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.8982, allocations: 322.8 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.8983, allocations: 8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.8983, allocations: 29.7 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.8984, allocations: 25.66 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8984, allocations: 0 / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.438e-05/0.8984, allocations: 49.61 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8985, allocations: 15.92 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8985, allocations: 64 / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8985, allocations: 4 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.8986, allocations: 8 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.8986, allocations: 4 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.8986, allocations: 12 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.8986, allocations: 4 kB / 1.212 GB, free: 9.707 MB / 0.9356 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 9.928e-05/0.8987, allocations: 117.8 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.8988, allocations: 7.906 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.8988, allocations: 16.55 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8988, allocations: 4.094 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8988, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8989, allocations: 11.92 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.8993, allocations: 470.8 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8993, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.8993, allocations: 4 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8993, allocations: 0 / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.8993, allocations: 3.938 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8993, allocations: 8.062 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8993, allocations: 0 / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.8994, allocations: 81.73 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.8995, allocations: 93.02 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.8995, allocations: 7.922 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.8996, allocations: 7.938 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.8996, allocations: 4.031 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.8996, allocations: 0 / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001115/0.8997, allocations: 135.2 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8997, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001968/0.8999, allocations: 8 kB / 1.213 GB, free: 8.633 MB / 0.9356 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.0001193/0.9, allocations: 99.23 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.515e-05/0.9001, allocations: 19.94 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9001, allocations: 4.125 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.9002, allocations: 4 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.9003, allocations: 8 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.9008, allocations: 212.3 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.9012, allocations: 0.7042 MB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.9012, allocations: 11.44 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.9012, allocations: 0 / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.002581/0.9038, allocations: 0.9924 MB / 1.215 GB, free: 6.512 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches