Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001699/0.001699, 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.002024/0.002024, allocations: 192.7 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.3 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2691, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.002118/0.2713, allocations: 0.8895 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.2715, allocations: 51.78 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.2715, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.2716, allocations: 15.8 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.2717, allocations: 15.86 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.601e-05/0.2717, allocations: 23.97 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2718, allocations: 83.78 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.272, allocations: 49.09 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.2721, allocations: 31.8 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.2721, allocations: 43.78 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2721, allocations: 8 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.2722, allocations: 8 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.2722, allocations: 23.86 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.2723, allocations: 51.66 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2724, allocations: 87.91 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2724, allocations: 0 / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2724, allocations: 0 / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2724, allocations: 0 / 1.065 GB, free: 13.14 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.0004127/0.2728, allocations: 399.3 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2729, allocations: 8.031 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2729, allocations: 42.73 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.2729, allocations: 12.75 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2732, allocations: 204.3 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2732, allocations: 4.562 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2732, allocations: 12.38 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2734, allocations: 110.3 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2734, allocations: 4 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2734, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2734, allocations: 4 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/0.2735, allocations: 47.92 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.2741, allocations: 480.3 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.2742, allocations: 49.16 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.2743, allocations: 25.78 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.2743, allocations: 7.984 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2743, allocations: 38.56 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2743, allocations: 0 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001922/0.2745, allocations: 61.55 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.2746, allocations: 81.11 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.2748, allocations: 167.3 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2748, allocations: 29.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.2748, allocations: 107.9 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.2749, allocations: 23.69 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.2749, allocations: 21.97 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.275, allocations: 322.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.2751, allocations: 12 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.2751, allocations: 21.7 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.2752, allocations: 37.66 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2752, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.917e-05/0.2753, allocations: 65.53 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2753, allocations: 12 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2753, allocations: 3.984 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2753, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.2754, allocations: 16.12 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2754, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.2755, allocations: 7.906 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2755, allocations: 3.938 kB / 1.067 GB, free: 10.46 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 (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.729e-05/0.2755, allocations: 113.8 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.2756, allocations: 11.91 kB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.2756, allocations: 16.55 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2756, allocations: 4.219 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2757, allocations: 0 / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2757, allocations: 3.938 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.2761, allocations: 0.5081 MB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2761, allocations: 128 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.2762, allocations: 11.98 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2762, allocations: 7.938 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2762, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2762, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.2762, allocations: 4 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.2763, allocations: 113.3 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.2764, allocations: 93 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2764, allocations: 3.938 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.2764, allocations: 0 / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.2765, allocations: 4 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.2765, allocations: 4 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.2766, allocations: 124.9 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2766, allocations: 0 / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002037/0.2768, allocations: 19.91 kB / 1.068 GB, free: 9.312 MB / 0.8262 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.0003734/0.2772, allocations: 0.6387 MB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.2773, allocations: 39.92 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2773, allocations: 0 / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.2773, allocations: 19.88 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.2775, allocations: 12 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2788, allocations: 1.413 MB / 1.07 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2791, allocations: 0.7002 MB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.2791, allocations: 12.55 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.2792, allocations: 27.42 kB / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.2792, allocations: 0 / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.2962, allocations: 1.675 MB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.524, allocations: 13.62 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches