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 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: "" <> 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.002007/0.002007, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002311/0.002311, allocations: 190 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.508/2.508, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.537/4.537, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002416, allocations: 68.22 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5332, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.003777/0.5371, allocations: 0.9425 MB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002789/0.5374, allocations: 51.72 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.5375, allocations: 4 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.418e-05/0.5376, allocations: 3.938 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.5378, allocations: 7.922 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.5379, allocations: 23.98 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.5381, allocations: 79.78 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.5384, allocations: 57.02 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.5385, allocations: 27.88 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.5386, allocations: 35.78 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.5386, allocations: 8 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.5387, allocations: 8 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.5387, allocations: 15.92 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.5388, allocations: 51.72 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.5391, allocations: 95.84 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.5391, allocations: 4 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5391, allocations: 3.938 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5391, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 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.0007738/0.5399, allocations: 395.3 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.031e-05/0.54, allocations: 12.62 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.5401, allocations: 38.73 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.5401, allocations: 20.75 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.5405, allocations: 196.4 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5406, allocations: 12.56 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.5406, allocations: 8.375 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.5409, allocations: 107.2 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.541, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.541, allocations: 8 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.541, allocations: 3.938 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.5412, allocations: 39.98 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.5422, allocations: 476.2 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.5423, allocations: 37.16 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.5424, allocations: 25.78 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5424, allocations: 7.984 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5425, allocations: 30.56 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.5425, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002984/0.5428, allocations: 61.44 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.5429, allocations: 77.11 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.5432, allocations: 182.6 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.5432, allocations: 25.95 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.5434, allocations: 112 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.5434, allocations: 7.844 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.5435, allocations: 17.72 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5437, allocations: 322.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.5437, allocations: 4 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.5438, allocations: 17.72 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.5438, allocations: 29.66 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5439, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001632/0.544, allocations: 65.5 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.5441, allocations: 4 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5441, allocations: 3.938 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.5441, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.5442, allocations: 4 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.5443, allocations: 3.984 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.5443, allocations: 12 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.5444, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 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 0.0001483/0.5445, allocations: 113.8 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.5446, allocations: 15.81 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.5447, allocations: 8.562 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5447, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.5447, allocations: 4.203 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5447, allocations: 3.938 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.5454, allocations: 482.8 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5454, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.5455, allocations: 7.984 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.5455, allocations: 3.938 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5455, allocations: 4 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5455, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5456, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.5457, allocations: 81.91 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.5458, allocations: 96.84 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.5459, allocations: 7.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.5459, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.546, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.546, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002157/0.5462, allocations: 140.8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5462, allocations: 4.031 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003848/0.5466, allocations: 11.94 kB / 1.057 GB, free: 3.527 MB / 0.8106 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.0005928/0.5472, allocations: 0.617 MB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.5475, allocations: 16.03 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5475, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.5475, allocations: 7.938 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.5478, allocations: 11.98 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.5501, allocations: 1.427 MB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.5506, allocations: 0.7002 MB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.47e-05/0.5507, allocations: 8.562 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.018e-05/0.5508, allocations: 31.42 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/0.5508, allocations: 0 / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.5723, allocations: 1.625 MB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/0.5727, allocations: 223.5 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.179, allocations: 0 / 1.062 GB, free: 14.79 MB / 0.8262 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=50 --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