Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.005238/0.005238, allocations: 102.3 kB / 15.73 MB, free: 6.445 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.001459/0.001459, allocations: 196.9 kB / 16.68 MB, free: 6.352 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.571/2.571, allocations: 482.6 MB / 0.755 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 67.88 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2657, allocations: 162.3 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001823/0.2676, allocations: 0.8944 MB / 1.243 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.2677, allocations: 55.7 kB / 1.243 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.2677, allocations: 0 / 1.243 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.2678, allocations: 7.875 kB / 1.243 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.2679, allocations: 15.86 kB / 1.243 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.221e-05/0.2679, allocations: 19.98 kB / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2681, allocations: 91.75 kB / 1.243 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2682, allocations: 49.08 kB / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.2683, allocations: 47.73 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.2683, allocations: 27.8 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2684, allocations: 8 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2684, allocations: 8 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.2684, allocations: 23.92 kB / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.2684, allocations: 39.73 kB / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.2686, allocations: 103.4 kB / 1.243 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2686, allocations: 0 / 1.243 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2686, allocations: 0 / 1.243 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2686, allocations: 4 kB / 1.243 GB, free: 8.398 MB / 0.9981 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.000413/0.269, allocations: 399.2 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2691, allocations: 12.03 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.2691, allocations: 42.73 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2691, allocations: 16.84 kB / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2693, allocations: 204.3 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2694, allocations: 8.562 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2694, allocations: 16.31 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2695, allocations: 103.3 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2696, allocations: 4 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2696, allocations: 4 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2696, allocations: 0 / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.2697, allocations: 51.97 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2702, allocations: 464.5 kB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.2703, allocations: 49.22 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.2703, allocations: 29.77 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.2703, allocations: 3.938 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2704, allocations: 38.5 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2704, allocations: 4 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001702/0.2706, allocations: 73.53 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.2706, allocations: 77.11 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2708, allocations: 165.9 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2708, allocations: 25.7 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.2709, allocations: 116.2 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.2709, allocations: 15.84 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.2709, allocations: 21.7 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.271, allocations: 322.8 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.2711, allocations: 11.98 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.2711, allocations: 21.72 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.458e-05/0.2712, allocations: 37.64 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2712, allocations: 0 / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.911e-05/0.2713, allocations: 77.62 kB / 1.246 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2713, allocations: 4 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2713, allocations: 0 / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2713, allocations: 4 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.2714, allocations: 11.94 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2714, allocations: 0 / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.2714, allocations: 7.891 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2714, allocations: 7.938 kB / 1.246 GB, free: 5.719 MB / 0.9981 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 (6): * Single equations (assignments): 6 * 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 7.553e-05/0.2715, allocations: 113.8 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2716, allocations: 19.94 kB / 1.246 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.2716, allocations: 12.56 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2716, allocations: 0 / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2716, allocations: 4 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2716, allocations: 0 / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.272, allocations: 0.5083 MB / 1.246 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2721, allocations: 12.03 kB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.2721, allocations: 4 kB / 1.246 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2721, allocations: 3.938 kB / 1.246 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2721, allocations: 4 kB / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2721, allocations: 0 / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2721, allocations: 0 / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.2722, allocations: 107.6 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.2723, allocations: 93 kB / 1.246 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2723, allocations: 7.938 kB / 1.246 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.2723, allocations: 0 / 1.246 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.2724, allocations: 8 kB / 1.246 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.2724, allocations: 0 / 1.246 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.926e-05/0.2725, allocations: 132.2 kB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2725, allocations: 11.88 kB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000181/0.2727, allocations: 12 kB / 1.247 GB, free: 4.543 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0003911/0.2731, allocations: 0.6388 MB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.2732, allocations: 32.2 kB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2732, allocations: 0 / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.2732, allocations: 15.94 kB / 1.247 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.2733, allocations: 15.86 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2746, allocations: 1.422 MB / 1.249 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2749, allocations: 0.7002 MB / 1.249 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.2749, allocations: 12.55 kB / 1.249 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.275, allocations: 31.42 kB / 1.249 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.275, allocations: 4 kB / 1.249 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.897/2.172, allocations: 1.689 MB / 1.251 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/12.49, allocations: 6.812 kB / 1.251 GB, free: 14.78 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches