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 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.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_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.005154/0.005154, allocations: 100.3 kB / 15.73 MB, free: 6.02 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.001434/0.001434, allocations: 192.4 kB / 16.67 MB, free: 5.938 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.584/2.584, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 63.91 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2726, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002039/0.2747, allocations: 0.8825 MB / 1.243 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.2748, allocations: 51.72 kB / 1.243 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.2749, allocations: 4 kB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.2749, allocations: 11.86 kB / 1.243 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.275, allocations: 11.88 kB / 1.243 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.839e-05/0.2751, allocations: 23.97 kB / 1.243 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2752, allocations: 75.78 kB / 1.243 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2754, allocations: 64.94 kB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.2754, allocations: 35.86 kB / 1.243 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.2755, allocations: 35.72 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2755, allocations: 12 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.2755, allocations: 8 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2756, allocations: 19.94 kB / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.2756, allocations: 39.73 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2757, allocations: 103.5 kB / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2758, allocations: 0 / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2758, allocations: 0 / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.2758, allocations: 0 / 1.243 GB, free: 8.445 MB / 0.9981 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.0004483/0.2762, allocations: 403.1 kB / 1.244 GB, free: 8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2763, allocations: 12.03 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.2763, allocations: 42.75 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.2764, allocations: 16.84 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2766, allocations: 196.4 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2766, allocations: 12.5 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2766, allocations: 12.36 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2768, allocations: 105.7 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2768, allocations: 0 / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2768, allocations: 8 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2769, allocations: 7.984 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.2769, allocations: 43.97 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.2775, allocations: 468.4 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.2776, allocations: 37.22 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.2776, allocations: 25.78 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2776, allocations: 7.938 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.2777, allocations: 30.56 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2777, allocations: 0 / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001542/0.2778, allocations: 53.58 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2779, allocations: 85.36 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2781, allocations: 183.1 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2781, allocations: 29.92 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.2782, allocations: 112 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.2782, allocations: 11.83 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.2782, allocations: 17.72 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2784, allocations: 322.8 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.2784, allocations: 4 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.2784, allocations: 25.7 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.2785, allocations: 29.66 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2785, allocations: 0 / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.279e-05/0.2786, allocations: 53.66 kB / 1.245 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2786, allocations: 9.5 kB / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2786, allocations: 3.984 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2786, allocations: 4.062 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.2787, allocations: 11.94 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2787, allocations: 0 / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.2787, allocations: 11.89 kB / 1.245 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.2787, allocations: 0 / 1.245 GB, free: 5.824 MB / 0.9981 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.856e-05/0.2788, allocations: 113.8 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.2789, allocations: 15.91 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.2789, allocations: 12.55 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2789, allocations: 0 / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2789, allocations: 8 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2789, allocations: 3.938 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.2793, allocations: 478.8 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2793, allocations: 4 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.2794, allocations: 0 / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2794, allocations: 7.938 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.2794, allocations: 0 / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2794, allocations: 4.062 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2794, allocations: 0 / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.2795, allocations: 81.83 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.2795, allocations: 89.06 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2796, allocations: 11.92 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.2796, allocations: 0 / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.2796, allocations: 4.031 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.2796, allocations: 4 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2797, allocations: 128.3 kB / 1.246 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.834e-06/0.2797, allocations: 0 / 1.246 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001736/0.2799, allocations: 11.94 kB / 1.246 GB, free: 4.746 MB / 0.9981 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.00038/0.2803, allocations: 0.6248 MB / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.2804, allocations: 19.98 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2804, allocations: 0 / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.2804, allocations: 7.938 kB / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.2805, allocations: 12 kB / 1.247 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2818, allocations: 1.403 MB / 1.248 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.2821, allocations: 0.7002 MB / 1.249 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.2821, allocations: 8.547 kB / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2821, allocations: 31.38 kB / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.2821, allocations: 0 / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.373/1.655, allocations: 1.736 MB / 1.251 GB, free: 160 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/12.44, allocations: 13.81 kB / 1.251 GB, free: 148 kB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > 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