Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_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.001291/0.001291, allocations: 112.5 kB / 15.73 MB, free: 76 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.001303/0.001303, allocations: 188.6 kB / 16.67 MB, free: 6.582 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2954, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002001/0.2974, allocations: 0.8816 MB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001249/0.2976, allocations: 55.78 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.2976, allocations: 3.938 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.2977, allocations: 11.86 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2977, allocations: 7.875 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.663e-05/0.2978, allocations: 23.97 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2979, allocations: 83.77 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2981, allocations: 53.08 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.867e-05/0.2981, allocations: 35.8 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.2982, allocations: 35.78 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2982, allocations: 8 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.2983, allocations: 8 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2983, allocations: 19.88 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.2983, allocations: 39.73 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2985, allocations: 103.5 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2985, allocations: 8 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2985, allocations: 3.938 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2985, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9825 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.0004536/0.299, allocations: 395.2 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.299, allocations: 12.03 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.2991, allocations: 38.75 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.2991, allocations: 16.84 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.2993, allocations: 208.3 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2993, allocations: 8.562 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2994, allocations: 12.38 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2995, allocations: 112.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2996, allocations: 3.984 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2996, allocations: 4 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2996, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.2997, allocations: 47.97 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.3003, allocations: 472.5 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.3003, allocations: 33.16 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.3004, allocations: 17.84 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.3004, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3004, allocations: 42.48 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3004, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001552/0.3006, allocations: 57.55 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3006, allocations: 77.11 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3008, allocations: 191.1 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3009, allocations: 25.7 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.3009, allocations: 104.1 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.3009, allocations: 8.141 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.301, allocations: 21.94 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3011, allocations: 322.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.3012, allocations: 11.94 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.3012, allocations: 17.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.3012, allocations: 29.66 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3012, allocations: 4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.647e-05/0.3013, allocations: 61.59 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3014, allocations: 4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3014, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3014, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.3014, allocations: 8 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3014, allocations: 3.938 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.3015, allocations: 15.89 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.3015, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 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 9.237e-05/0.3016, allocations: 117.9 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3016, allocations: 7.953 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.3017, allocations: 20.48 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3017, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3017, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3017, allocations: 3.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.3021, allocations: 478.8 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3021, allocations: 4 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.3022, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3022, allocations: 7.938 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.3022, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3022, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3022, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.092e-05/0.3023, allocations: 89.86 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.3024, allocations: 89.06 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3024, allocations: 7.922 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.3024, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-06/0.3024, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3024, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3025, allocations: 128.3 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3025, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001862/0.3027, allocations: 19.95 kB / 1.225 GB, free: 9.246 MB / 0.9825 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.0004155/0.3032, allocations: 0.6201 MB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.3032, allocations: 15.98 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3032, allocations: 3.938 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.3033, allocations: 16.09 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.3034, allocations: 8 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3048, allocations: 1.411 MB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3051, allocations: 0.7002 MB / 1.227 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.3051, allocations: 8.547 kB / 1.227 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.3052, allocations: 27.44 kB / 1.227 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.136e-06/0.3052, allocations: 0 / 1.227 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5925/0.8977, allocations: 1.746 MB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.37, allocations: 15.28 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches