Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 220.3 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 64.16 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002151/0.3389, allocations: 0.8319 MB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000187/0.3391, allocations: 55.72 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3391, allocations: 0 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.3392, allocations: 15.86 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3393, allocations: 23.8 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.933e-05/0.3394, allocations: 23.97 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3395, allocations: 71.84 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3397, allocations: 45.28 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3398, allocations: 43.73 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.3398, allocations: 35.78 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3399, allocations: 8 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.3399, allocations: 12 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.3399, allocations: 23.91 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.34, allocations: 27.81 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3401, allocations: 107.7 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3401, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3401, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3401, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 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.0005324/0.3407, allocations: 330 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3407, allocations: 8.031 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.3407, allocations: 42.75 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.3408, allocations: 16.88 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.341, allocations: 142.5 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.341, allocations: 8.562 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.341, allocations: 8.375 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3412, allocations: 108.4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3412, allocations: 3.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3412, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3413, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3414, allocations: 51.91 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.342, allocations: 411.7 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.3421, allocations: 61.14 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.3421, allocations: 21.78 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.3421, allocations: 4 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3421, allocations: 30.56 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3421, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002041/0.3423, allocations: 77.53 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3424, allocations: 77.36 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3426, allocations: 171.3 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3426, allocations: 25.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.3427, allocations: 116 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.3427, allocations: 7.891 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.3428, allocations: 21.67 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3429, allocations: 326.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.3429, allocations: 8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.343, allocations: 29.64 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.343, allocations: 37.92 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.343, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001107/0.3431, allocations: 73.52 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3432, allocations: 12 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3432, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3432, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.3433, allocations: 11.98 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3433, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.3433, allocations: 7.953 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.3433, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 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 9.313e-05/0.3434, allocations: 114.4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3434, allocations: 11.95 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.3435, allocations: 16.64 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3435, allocations: 4 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3435, allocations: 128 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3435, allocations: 7.938 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.344, allocations: 479.5 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.344, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.344, allocations: 8 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.344, allocations: 3.938 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.344, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.344, allocations: 7.875 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.344, allocations: 4.125 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.3442, allocations: 107.6 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.3442, allocations: 19.84 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3442, allocations: 3.938 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.3443, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.3443, allocations: 11.92 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3443, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3444, allocations: 124.9 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3444, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002008/0.3446, allocations: 12 kB / 1.33 GB, free: 12.69 MB / 1.029 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.0004822/0.3451, allocations: 0.6344 MB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.3452, allocations: 31.92 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3452, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.3452, allocations: 15.94 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.3454, allocations: 13.97 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3469, allocations: 1.441 MB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.347, allocations: 84.19 kB / 1.332 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.347, allocations: 12.48 kB / 1.332 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.347, allocations: 27.42 kB / 1.332 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.347, allocations: 0 / 1.332 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.3774, allocations: 2.257 MB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 4.328 kB / 1.335 GB, free: 8.152 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.65116002599825]