Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001268/0.001268, 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.001185/0.001185, allocations: 198.2 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.595/2.595, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.34 kB / 0.9087 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2465, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001898/0.2484, allocations: 0.8817 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.2486, allocations: 51.7 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.2486, allocations: 4 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.2487, allocations: 7.875 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.2487, allocations: 11.88 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.58e-05/0.2488, allocations: 27.97 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2489, allocations: 83.77 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.249, allocations: 57.02 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.2491, allocations: 27.88 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.2491, allocations: 39.72 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.2492, allocations: 8 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.2492, allocations: 8 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.2492, allocations: 19.92 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.2493, allocations: 39.73 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2494, allocations: 99.83 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2494, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2494, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2494, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 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.0004013/0.2498, allocations: 397.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2498, allocations: 12.03 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2499, allocations: 46.73 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2499, allocations: 16.75 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2501, allocations: 201.6 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2501, allocations: 8.562 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2502, allocations: 8.375 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2503, allocations: 111.3 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2503, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2504, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2504, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.2504, allocations: 47.92 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.251, allocations: 474 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.251, allocations: 41.08 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.2511, allocations: 25.78 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-06/0.2511, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2511, allocations: 38.55 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.2511, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.2513, allocations: 53.55 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2513, allocations: 81.09 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2515, allocations: 187.2 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.2515, allocations: 25.7 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.2516, allocations: 104 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.2516, allocations: 11.83 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.2516, allocations: 25.88 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2518, allocations: 322.8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.2518, allocations: 11.94 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.2518, allocations: 13.72 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.2518, allocations: 25.72 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2519, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.466e-05/0.2519, allocations: 65.53 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.252, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.252, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.252, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.252, allocations: 4 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2521, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.2521, allocations: 11.84 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2521, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 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.688e-05/0.2522, allocations: 121.9 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.2523, allocations: 11.91 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/0.2523, allocations: 12.56 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2523, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2523, allocations: 224 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2523, allocations: 3.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.2527, allocations: 482.7 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2527, allocations: 4.062 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.2527, allocations: 7.938 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2527, allocations: 3.938 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.2528, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2528, allocations: 7.984 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2528, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.976e-05/0.2529, allocations: 77.81 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.2529, allocations: 97.03 kB / 1.068 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.2529, allocations: 3.938 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.253, allocations: 0 / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-06/0.253, allocations: 0 / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.253, allocations: 7.938 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001002/0.2531, allocations: 136.3 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.244e-06/0.2531, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001768/0.2533, allocations: 19.88 kB / 1.069 GB, free: 9.18 MB / 0.8262 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.0003595/0.2536, allocations: 0.6132 MB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.2537, allocations: 19.94 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2537, allocations: 0 / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.2537, allocations: 8.219 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2539, allocations: 13.62 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2551, allocations: 1.398 MB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2554, allocations: 0.6924 MB / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.2554, allocations: 8.547 kB / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2554, allocations: 31.42 kB / 1.071 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2555, allocations: 8 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3491/0.6045, allocations: 1.697 MB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.98, allocations: 6.438 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches