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.001332/0.001332, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001599/0.001599, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.131/3.131, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.002012/0.002012, allocations: 71.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.221, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002411/1.223, allocations: 0.8825 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001515/1.223, allocations: 52.45 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/1.223, allocations: 2.875 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.635e-05/1.223, allocations: 18.98 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/1.223, allocations: 11.88 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.089e-05/1.223, allocations: 23.73 kB / 1.322 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/1.224, allocations: 87.5 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/1.224, allocations: 35.48 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/1.224, allocations: 41.47 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/1.224, allocations: 35.95 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/1.224, allocations: 8.312 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/1.224, allocations: 12.25 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/1.224, allocations: 21.81 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/1.224, allocations: 39 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/1.224, allocations: 104.3 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.224, allocations: 4 kB / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/1.224, allocations: 0 / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.224, allocations: 0 / 1.323 GB, free: 23.92 MB / 1.061 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.0003873/1.225, allocations: 398.2 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.225, allocations: 15.61 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/1.225, allocations: 10.84 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/1.225, allocations: 47.2 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/1.225, allocations: 10.23 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/1.225, allocations: 210.8 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.225, allocations: 3.125 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/1.225, allocations: 13.09 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.225, allocations: 104.6 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.225, allocations: 2.406 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/1.225, allocations: 0 / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.225, allocations: 2.594 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/1.225, allocations: 47.67 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/1.226, allocations: 478.6 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/1.226, allocations: 48.45 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/1.226, allocations: 31.91 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/1.226, allocations: 2.562 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/1.226, allocations: 38.5 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.226, allocations: 0 / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/1.226, allocations: 70.23 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/1.226, allocations: 79.92 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.226, allocations: 173.3 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/1.226, allocations: 25.7 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/1.226, allocations: 111.2 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/1.226, allocations: 10.39 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/1.226, allocations: 22.83 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/1.226, allocations: 320.6 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/1.226, allocations: 12.17 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/1.226, allocations: 23.22 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/1.226, allocations: 41.41 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.226, allocations: 4 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.138e-05/1.227, allocations: 64.19 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.227, allocations: 7.219 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.227, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.227, allocations: 2.875 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/1.227, allocations: 13.33 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/1.227, allocations: 6.953 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/1.227, allocations: 11.83 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/1.227, allocations: 6.906 kB / 1.325 GB, free: 21.7 MB / 1.061 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 6.712e-05/1.227, allocations: 119.4 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/1.227, allocations: 6.828 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/1.227, allocations: 15.05 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.227, allocations: 2.938 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.227, allocations: 3.938 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.227, allocations: 3.938 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/1.227, allocations: 0.5066 MB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.227, allocations: 0 / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/1.227, allocations: 9.797 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.227, allocations: 6.875 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/1.227, allocations: 0 / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.227, allocations: 3.125 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.227, allocations: 0 / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.491e-05/1.227, allocations: 107.7 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/1.227, allocations: 95.3 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.227, allocations: 6.062 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/1.227, allocations: 144 / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/1.227, allocations: 15.02 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/1.227, allocations: 3 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001024/1.228, allocations: 129.7 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.228, allocations: 0 / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00019/1.228, allocations: 11.19 kB / 1.326 GB, free: 20.71 MB / 1.061 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.0003029/1.228, allocations: 0.6405 MB / 1.327 GB, free: 20.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.407e-05/1.228, allocations: 28.27 kB / 1.327 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.228, allocations: 0 / 1.327 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/1.228, allocations: 9.531 kB / 1.327 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/1.228, allocations: 16.33 kB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.229, allocations: 1.446 MB / 1.328 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/1.229, allocations: 0.7019 MB / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.127e-05/1.23, allocations: 9.469 kB / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/1.23, allocations: 32.34 kB / 1.329 GB, free: 18.03 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/1.23, allocations: 0 / 1.329 GB, free: 18.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/1.252, allocations: 1.756 MB / 1.331 GB, free: 17.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/9.646, allocations: 9.188 kB / 1.331 GB, free: 17.62 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.587011862022337]