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.006848/0.006848, allocations: 101 kB / 15.73 MB, free: 5.586 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.002074/0.002075, allocations: 187.8 kB / 16.67 MB, free: 5.523 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.274/2.274, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.48/3.48, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 63.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.069, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002498/1.072, allocations: 0.8812 MB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/1.072, allocations: 59.88 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/1.072, allocations: 2.344 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/1.072, allocations: 9.609 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/1.072, allocations: 10.34 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.479e-05/1.072, allocations: 21.8 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/1.073, allocations: 79.47 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/1.073, allocations: 58.62 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/1.073, allocations: 29.39 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/1.073, allocations: 39.97 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/1.073, allocations: 8.125 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/1.073, allocations: 8.062 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/1.073, allocations: 21.25 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/1.073, allocations: 43.06 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/1.073, allocations: 98.45 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.073, allocations: 5.344 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.073, allocations: 3.938 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.073, allocations: 0 / 1.089 GB, free: 4.43 MB / 0.8575 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.0004336/1.074, allocations: 405.5 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.074, allocations: 9.625 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/1.074, allocations: 40.61 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/1.074, allocations: 18.3 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/1.074, allocations: 203.2 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.074, allocations: 8.672 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/1.074, allocations: 10.44 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/1.074, allocations: 110.3 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.074, allocations: 1.062 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.074, allocations: 1.094 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.074, allocations: 1.844 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/1.074, allocations: 44.97 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/1.075, allocations: 477.9 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/1.075, allocations: 33.05 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/1.075, allocations: 21.44 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/1.075, allocations: 3.938 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/1.075, allocations: 37.38 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/1.075, allocations: 0 / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/1.075, allocations: 52.95 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.075, allocations: 78.56 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/1.075, allocations: 193.3 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/1.075, allocations: 26.48 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/1.075, allocations: 108.9 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/1.075, allocations: 13.67 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/1.076, allocations: 14.19 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.97e-05/1.076, allocations: 321.8 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/1.076, allocations: 8.594 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/1.076, allocations: 19.2 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/1.076, allocations: 31.39 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.076, allocations: 0 / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.785e-05/1.076, allocations: 58.08 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.076, allocations: 5.953 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.076, allocations: 1 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.076, allocations: 0 / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/1.076, allocations: 15.34 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.076, allocations: 1.094 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/1.076, allocations: 10.59 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/1.076, allocations: 1.156 kB / 1.091 GB, free: 2.246 MB / 0.8575 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 5.706e-05/1.076, allocations: 118.9 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/1.076, allocations: 12.97 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/1.076, allocations: 18.72 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.076, allocations: 5.094 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.076, allocations: 1.125 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.076, allocations: 4.5 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/1.076, allocations: 475.7 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.076, allocations: 1.031 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/1.076, allocations: 3.969 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.076, allocations: 9.578 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/1.077, allocations: 0 / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.077, allocations: 1.125 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.077, allocations: 1.703 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.637e-05/1.077, allocations: 84.75 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/1.077, allocations: 92.22 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/1.077, allocations: 5.562 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.238e-05/1.077, allocations: 0.9375 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/1.077, allocations: 2 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.077, allocations: 1.219 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001098/1.077, allocations: 138.6 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.077, allocations: 0 / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002049/1.077, allocations: 11.59 kB / 1.092 GB, free: 1.316 MB / 0.8575 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.000371/1.077, allocations: 0.6175 MB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.801e-05/1.078, allocations: 15.17 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.078, allocations: 5.188 kB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/1.078, allocations: 8.766 kB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/1.078, allocations: 14.47 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.079, allocations: 1.396 MB / 1.094 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/1.079, allocations: 0.702 MB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.024e-05/1.079, allocations: 7.891 kB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/1.08, allocations: 31.03 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/1.08, allocations: 0 / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/1.103, allocations: 1.734 MB / 1.096 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.51, allocations: 6.094 kB / 1.096 GB, free: 14.32 MB / 0.8731 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