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.001876/0.001876, 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.00252/0.00252, allocations: 215.5 kB / 22.25 MB, free: 5.105 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.824 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.286/3.286, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.002092/0.002092, allocations: 64.38 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002359/0.356, allocations: 0.8406 MB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.3562, allocations: 59.7 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.3562, allocations: 0 / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.3563, allocations: 11.81 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.3564, allocations: 19.8 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.509e-05/0.3564, allocations: 27.98 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3566, allocations: 79.81 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3567, allocations: 41.3 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.3568, allocations: 39.78 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.3569, allocations: 35.8 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.3569, allocations: 8 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.3569, allocations: 8 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.357, allocations: 19.86 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.357, allocations: 35.8 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3572, allocations: 107.7 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3572, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3572, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3572, 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.0004895/0.3577, allocations: 330 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3577, allocations: 8.031 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.3578, allocations: 42.73 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3578, allocations: 12.83 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.358, allocations: 154.5 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.358, allocations: 4.562 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3581, allocations: 12.38 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3583, allocations: 108.1 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3583, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3583, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3583, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.3584, allocations: 43.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.359, allocations: 415.8 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.3591, allocations: 49.27 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.3592, allocations: 37.7 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.3592, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3592, allocations: 34.56 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3592, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002118/0.3594, allocations: 73.53 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3595, allocations: 77.11 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.3597, allocations: 168.2 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3597, allocations: 29.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.3598, allocations: 112.2 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3598, allocations: 19.88 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3598, allocations: 29.66 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.36, allocations: 318.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.36, allocations: 11.98 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.36, allocations: 25.66 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.3601, allocations: 41.69 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3601, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001121/0.3602, allocations: 65.58 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3603, allocations: 8 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3603, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3603, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.3603, allocations: 8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3603, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.3604, allocations: 7.953 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3604, allocations: 7.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.389e-05/0.3605, allocations: 118.4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.3605, allocations: 11.94 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3606, allocations: 12.66 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3606, allocations: 0 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3606, allocations: 0 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3606, allocations: 0 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.3611, allocations: 487.5 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3611, allocations: 8.047 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.3611, allocations: 12 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3611, allocations: 3.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3611, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3611, allocations: 3.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3611, allocations: 3.938 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.3613, allocations: 103.7 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3613, allocations: 23.95 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3613, allocations: 3.938 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.3614, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.3614, allocations: 7.938 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.3614, allocations: 4 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3615, allocations: 120 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3615, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002033/0.3617, allocations: 16 kB / 1.33 GB, free: 12.68 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.0005268/0.3622, allocations: 0.6368 MB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3623, allocations: 31.92 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3623, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.3623, 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.0001809/0.3625, allocations: 8 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.001567/0.3641, allocations: 1.426 MB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.3642, allocations: 88.44 kB / 1.332 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.3642, allocations: 16.47 kB / 1.332 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.3643, allocations: 27.44 kB / 1.332 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3643, allocations: 0 / 1.332 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3944, allocations: 2.253 MB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 5.703 kB / 1.335 GB, free: 8.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.440580597001826]