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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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.008323/0.008323, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001711/0.001711, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.76/2.76, allocations: 469.4 MB / 0.7421 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.84 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2565, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.001948/0.2585, allocations: 0.8816 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001547/0.2587, allocations: 59.7 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.2588, allocations: 4 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.2588, allocations: 7.875 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.259, allocations: 19.86 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.665e-05/0.259, allocations: 23.97 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2591, allocations: 75.78 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2593, allocations: 57.06 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.2594, allocations: 47.73 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.2594, allocations: 31.78 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2595, allocations: 8 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.2595, allocations: 8 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.2595, allocations: 19.94 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.2596, allocations: 43.67 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2597, allocations: 103.5 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2597, allocations: 4 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2597, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2597, allocations: 0 / 1.221 GB, free: 13.24 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.000423/0.2602, allocations: 399.2 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2602, allocations: 8.031 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.2603, allocations: 42.75 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.2603, allocations: 16.78 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2605, allocations: 208.3 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2605, allocations: 12.56 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2606, allocations: 8.375 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2607, allocations: 99.33 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2607, allocations: 0 / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2608, allocations: 7.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2608, allocations: 4 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.2609, allocations: 51.91 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.2614, allocations: 472.5 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.2615, allocations: 53.16 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.2615, allocations: 29.77 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2616, allocations: 4 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2616, allocations: 30.56 kB / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2616, allocations: 0 / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001889/0.2618, allocations: 77.56 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2618, allocations: 77.33 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.262, allocations: 167.3 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.262, allocations: 29.89 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.2621, allocations: 112 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2621, allocations: 23.83 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2621, allocations: 13.72 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.2622, allocations: 330.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.2622, allocations: 4 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.2623, allocations: 21.72 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.2623, allocations: 45.64 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2623, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.747e-05/0.2624, allocations: 69.7 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2625, allocations: 4 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2625, allocations: 4 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2625, allocations: 0 / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.2626, allocations: 8 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2626, allocations: 3.984 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.2626, allocations: 15.88 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2626, allocations: 7.938 kB / 1.223 GB, free: 10.55 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 (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.529e-05/0.2627, allocations: 122.4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.2628, allocations: 7.953 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.2628, allocations: 12.56 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2628, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2628, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2628, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.2632, allocations: 0.5121 MB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2632, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.2633, allocations: 8 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2633, allocations: 3.938 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2633, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2633, allocations: 4 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2633, allocations: 3.938 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2634, allocations: 111.7 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.2635, allocations: 89.05 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2635, allocations: 3.938 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.2635, allocations: 8 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.2636, allocations: 3.984 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2636, allocations: 4 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.2637, allocations: 127.9 kB / 1.224 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2637, allocations: 0 / 1.224 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002041/0.2639, allocations: 19.94 kB / 1.224 GB, free: 9.391 MB / 0.9825 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.0003388/0.2642, allocations: 0.6385 MB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.2643, allocations: 35.91 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2643, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.2644, allocations: 11.94 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.2645, allocations: 8 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2657, allocations: 1.442 MB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.2659, allocations: 0.7002 MB / 1.227 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.266, allocations: 8.562 kB / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.266, allocations: 31.42 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.266, allocations: 0 / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.281, allocations: 1.713 MB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.397, allocations: 8 kB / 1.229 GB, free: 4.734 MB / 0.9825 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