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.001475/0.001475, allocations: 108 kB / 15.6 MB, free: 132 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.001443/0.001443, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.456/2.456, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 61.92 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2519, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001995/0.2539, allocations: 0.8872 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.2541, allocations: 55.72 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.2541, allocations: 0 / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.2542, allocations: 15.8 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.2543, allocations: 11.88 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.789e-05/0.2544, allocations: 23.98 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2545, allocations: 83.77 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2546, allocations: 49.08 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.2547, allocations: 31.86 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.2547, allocations: 35.78 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2547, allocations: 12 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2548, allocations: 8 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.2548, allocations: 15.94 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.2548, allocations: 51.61 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.255, allocations: 95.88 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.255, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.255, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.255, allocations: 0 / 1.065 GB, free: 12.88 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.0004267/0.2554, allocations: 395.3 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2555, allocations: 12.03 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.2555, allocations: 38.75 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2555, allocations: 12.75 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2557, allocations: 200.4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2558, allocations: 12.5 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2558, allocations: 8.375 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.256, allocations: 107.3 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.256, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.256, allocations: 8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.256, allocations: 7.984 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.2561, allocations: 47.84 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.2566, allocations: 474 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.2567, allocations: 41.22 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.2567, allocations: 17.72 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.2567, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2568, allocations: 38.56 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2568, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.2569, allocations: 57.75 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.257, allocations: 77.11 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.2571, allocations: 187.1 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2572, allocations: 25.7 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.2572, allocations: 112 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.2573, allocations: 7.844 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.2573, allocations: 25.56 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2574, allocations: 318.8 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.2575, allocations: 8.031 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.2575, allocations: 25.7 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.2575, allocations: 25.66 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2575, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.859e-05/0.2576, allocations: 57.55 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2576, allocations: 8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2577, allocations: 8.047 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2577, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.2577, allocations: 4.219 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2577, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.2578, allocations: 11.78 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.2578, 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.198e-05/0.2579, allocations: 113.8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2579, allocations: 7.906 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.2579, allocations: 20.55 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2579, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2579, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.258, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.2584, allocations: 474.8 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2584, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.2584, allocations: 4 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2584, allocations: 3.938 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.2584, allocations: 4.062 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2584, allocations: 4 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2584, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.2585, allocations: 85.73 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.2586, allocations: 85.02 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2586, allocations: 3.938 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.623e-05/0.2586, allocations: 16.02 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.2586, allocations: 0 / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.2586, allocations: 0 / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001075/0.2588, allocations: 132.3 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2588, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001702/0.2589, allocations: 11.94 kB / 1.069 GB, free: 9.211 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.0003825/0.2593, allocations: 0.6209 MB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.2594, allocations: 23.98 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2594, allocations: 0 / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.2594, allocations: 7.938 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.2596, allocations: 14.34 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2608, allocations: 1.393 MB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2611, allocations: 0.7002 MB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.2611, allocations: 12.55 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2612, allocations: 27.44 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of SimCode: time 1.813e-06/0.2612, allocations: 0 / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.282/2.543, allocations: 1.711 MB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/10.13, allocations: 11.48 kB / 1.073 GB, free: 4.609 MB / 0.8262 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