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.001868/0.001868, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002088/0.002088, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.347/3.347, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="cs",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.002122/0.002122, allocations: 69.27 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.372, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002279/0.3743, allocations: 0.8289 MB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.3745, allocations: 59.7 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.3746, allocations: 8 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.3746, allocations: 7.875 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3747, allocations: 15.8 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.801e-05/0.3748, allocations: 23.98 kB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3749, allocations: 79.83 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.3751, allocations: 45.27 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.3752, allocations: 39.73 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.3752, allocations: 39.78 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3753, allocations: 12 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.3753, allocations: 11.94 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3753, allocations: 11.94 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.3753, allocations: 35.8 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3755, allocations: 107.7 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3755, allocations: 0 / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3755, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3755, allocations: 0 / 1.328 GB, free: 204 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.0004761/0.376, allocations: 326 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.376, allocations: 8.031 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.376, allocations: 8.375 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.3761, allocations: 38.75 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.3761, allocations: 8.891 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3763, allocations: 150.5 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3763, allocations: 8.562 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3764, allocations: 11.88 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3765, allocations: 104.3 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3766, allocations: 0 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3766, allocations: 4 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3766, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.3767, allocations: 43.92 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.3773, allocations: 423.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.3774, allocations: 53.14 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.3774, allocations: 29.78 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-06/0.3774, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3774, allocations: 30.56 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3774, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.3777, allocations: 77.72 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.3777, allocations: 77.11 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3779, allocations: 176.2 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3779, allocations: 25.7 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.378, allocations: 108.2 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.378, allocations: 15.89 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.3781, allocations: 25.61 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3782, allocations: 322.8 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.3783, allocations: 8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.3783, allocations: 29.66 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.3784, allocations: 37.7 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3784, allocations: 4.062 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001137/0.3785, allocations: 65.58 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3785, allocations: 8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3785, allocations: 3.984 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3785, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/0.3786, allocations: 12.03 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3786, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.3787, allocations: 23.81 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3787, allocations: 3.984 kB / 1.33 GB, free: 13.73 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 8.6e-05/0.3788, allocations: 114.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.3788, allocations: 15.95 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3788, allocations: 12.66 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3788, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3788, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3789, allocations: 11.86 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.3793, allocations: 475.6 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3793, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.3794, allocations: 11.94 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3794, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.3794, allocations: 8.125 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3794, allocations: 3.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3794, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3795, allocations: 103.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3796, allocations: 15.88 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3796, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.3796, allocations: 8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3796, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3796, allocations: 7.984 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.924e-05/0.3797, allocations: 120 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3797, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002065/0.3799, allocations: 23.89 kB / 1.331 GB, free: 12.7 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.0004392/0.3804, allocations: 0.6344 MB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3805, allocations: 31.92 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3805, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.3805, allocations: 11.94 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.3807, allocations: 11.94 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3821, allocations: 1.438 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.3822, allocations: 84.19 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.897e-05/0.3822, allocations: 8.484 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.3823, allocations: 31.42 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3823, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.405, allocations: 1.893 MB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 6.469 kB / 1.335 GB, free: 8.551 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: 19.06333917810116]