Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_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.001467/0.001467, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 196 kB / 16.53 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4982, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001716/0.4999, allocations: 0.8721 MB / 0.9506 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.5001, allocations: 51.12 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.5001, allocations: 1.031 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.5002, allocations: 15.8 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.5002, allocations: 9.125 kB / 0.9507 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.161e-05/0.5003, allocations: 28.78 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.5004, allocations: 77.47 kB / 0.9508 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.5005, allocations: 57.44 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.5006, allocations: 28.73 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.5006, allocations: 42.06 kB / 0.9509 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.5006, allocations: 7.812 kB / 0.9509 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.5006, allocations: 8.75 kB / 0.9509 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.5007, allocations: 18.7 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.5007, allocations: 43.06 kB / 0.951 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.786e-05/0.5008, allocations: 96.19 kB / 0.951 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.5008, allocations: 0 / 0.951 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5008, allocations: 0 / 0.951 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5008, allocations: 0 / 0.951 GB, free: 8.18 MB / 0.7169 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.0003013/0.5011, allocations: 405.1 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5012, allocations: 8.375 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.5012, allocations: 41.83 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.5012, allocations: 11.16 kB / 0.9515 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.5014, allocations: 211.8 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.5014, allocations: 16.5 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5014, allocations: 6.688 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.5015, allocations: 111.3 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.5015, allocations: 0 / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.5016, allocations: 5.188 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5016, allocations: 2.438 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.5016, allocations: 43.89 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.502, allocations: 468.3 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.5021, allocations: 41.19 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.5021, allocations: 20.45 kB / 0.9524 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.5021, allocations: 7.938 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.5021, allocations: 35.75 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5021, allocations: 1.375 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.5023, allocations: 51.52 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.5023, allocations: 77.11 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.5024, allocations: 191.1 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-06/0.5024, allocations: 29.92 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.5025, allocations: 113.2 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.543e-06/0.5025, allocations: 8.781 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.5025, allocations: 18.03 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.5026, allocations: 320.9 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5026, allocations: 8.078 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.5026, allocations: 17.88 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.5026, allocations: 30.88 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5026, allocations: 0 / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.863e-05/0.5027, allocations: 61 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.5027, allocations: 4.062 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5027, allocations: 1.5 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5028, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.5028, allocations: 9.344 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5028, allocations: 5.531 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.5029, allocations: 14.12 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.5029, allocations: 1.188 kB / 0.9533 GB, free: 5.875 MB / 0.7169 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 4.431e-05/0.5029, allocations: 114.6 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.503, allocations: 8.75 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.503, allocations: 16.33 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.503, allocations: 5.297 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.503, allocations: 0 / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.503, allocations: 5.25 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5033, allocations: 480 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5033, allocations: 1.156 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.5033, allocations: 3.406 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5033, allocations: 3.938 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.5033, allocations: 0.9688 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5033, allocations: 1.062 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5033, allocations: 1.094 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.558e-05/0.5034, allocations: 87.33 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.5034, allocations: 89.41 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5034, allocations: 11.88 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.5035, allocations: 5.156 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.5035, allocations: 1.062 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.5035, allocations: 1.062 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.5035, allocations: 138.9 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.12e-07/0.5036, allocations: 0 / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001831/0.5037, allocations: 16.66 kB / 0.9543 GB, free: 4.902 MB / 0.7169 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.0001887/0.5039, allocations: 0.6181 MB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.504, allocations: 18.83 kB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.504, allocations: 0 / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.504, allocations: 8.125 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.5042, allocations: 9.156 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.505, allocations: 1.395 MB / 0.9563 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.5051, allocations: 0.7024 MB / 0.957 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.5051, allocations: 8.859 kB / 0.957 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.5052, allocations: 31.61 kB / 0.957 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5052, allocations: 1.031 kB / 0.957 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.99/2.496, allocations: 1.692 MB / 0.9587 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/13.87, allocations: 8.969 kB / 0.9587 GB, free: 1.34 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches