Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_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.009744/0.009744, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.001789/0.001789, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2856, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00215/0.2878, allocations: 0.8867 MB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001622/0.288, allocations: 59.72 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.2881, allocations: 0 / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.2881, allocations: 7.875 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.2882, allocations: 11.86 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.739e-05/0.2883, allocations: 19.98 kB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2884, allocations: 91.75 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2886, allocations: 45.11 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.2886, allocations: 27.86 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.2887, allocations: 43.66 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2887, allocations: 8 kB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.2887, allocations: 8 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.2888, allocations: 19.92 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.2888, allocations: 39.75 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.289, allocations: 107.7 kB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.289, allocations: 4 kB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.289, allocations: 0 / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.289, allocations: 0 / 1.168 GB, free: 5.938 MB / 0.92 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.000484/0.2895, allocations: 399.2 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2895, allocations: 15.97 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2896, allocations: 38.73 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.2896, allocations: 16.84 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2899, allocations: 204.4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2899, allocations: 4.562 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2899, allocations: 12.38 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.2901, allocations: 117.9 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2901, allocations: 0 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2901, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2902, allocations: 0 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.2902, allocations: 43.98 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.2908, allocations: 472.4 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.2909, allocations: 37.14 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.2909, allocations: 21.84 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.291, allocations: 3.938 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.291, allocations: 34.56 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.291, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.2912, allocations: 57.55 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.2912, allocations: 85.09 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2914, allocations: 178.6 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2914, allocations: 25.7 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.2915, allocations: 112 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.2915, allocations: 16.12 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.2915, allocations: 17.72 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2916, allocations: 322.8 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.2917, allocations: 8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.2917, allocations: 17.72 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.2918, allocations: 25.66 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2918, allocations: 4 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.959e-05/0.2919, allocations: 69.59 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2919, allocations: 4 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2919, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2919, allocations: 4 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.292, allocations: 7.938 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.292, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.292, allocations: 11.88 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.292, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 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.574e-05/0.2921, allocations: 124.7 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.2922, allocations: 15.91 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.2922, allocations: 8.562 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2922, allocations: 4.219 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2922, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2922, allocations: 7.875 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.2926, allocations: 478.8 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2926, allocations: 0 / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.2926, allocations: 0 / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2927, allocations: 7.938 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2927, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2927, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2927, allocations: 3.984 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.391e-05/0.2928, allocations: 89.88 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.2928, allocations: 89.05 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2929, allocations: 3.938 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.2929, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.2929, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2929, allocations: 4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001037/0.293, allocations: 144.3 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.293, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002004/0.2932, allocations: 8 kB / 1.171 GB, free: 2.242 MB / 0.92 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.0003516/0.2936, allocations: 0.6249 MB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.381e-05/0.2937, allocations: 12 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2937, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.2937, allocations: 16.03 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.2939, allocations: 8 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2952, allocations: 1.4 MB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2955, allocations: 0.7002 MB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.2955, allocations: 8.547 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2956, allocations: 35.42 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2956, allocations: 0 / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.3135, allocations: 1.737 MB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.432, allocations: 6.703 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches