Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_9_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.001051/0.001051, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009651/0.0009651, allocations: 194.6 kB / 16.26 MB, free: 6.625 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.89 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.5419, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.0018/0.5438, allocations: 0.9298 MB / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.5439, allocations: 47.12 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.5439, allocations: 6.344 kB / 0.9502 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.544, allocations: 11.86 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.5441, allocations: 9.141 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.584e-05/0.5441, allocations: 23.27 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.5442, allocations: 76.06 kB / 0.9503 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.5444, allocations: 53.58 kB / 0.9504 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.5444, allocations: 38.55 kB / 0.9504 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.5445, allocations: 38.12 kB / 0.9504 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.5445, allocations: 8 kB / 0.9504 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.5445, allocations: 8.844 kB / 0.9505 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.5446, allocations: 18.48 kB / 0.9505 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.5446, allocations: 43.27 kB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.057e-05/0.5447, allocations: 95.98 kB / 0.9506 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5447, allocations: 3.938 kB / 0.9506 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5447, allocations: 0 / 0.9506 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5447, allocations: 0 / 0.9506 GB, free: 8.027 MB / 0.7169 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.0003234/0.545, allocations: 400.1 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5451, allocations: 13.41 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.5451, allocations: 41.73 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.5452, allocations: 11.97 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5453, allocations: 208.8 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5453, allocations: 12.94 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.5454, allocations: 9.594 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5455, allocations: 107.4 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.5455, allocations: 0 / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5455, allocations: 5.531 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5455, allocations: 1.312 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.5456, allocations: 41.58 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.5461, allocations: 474.8 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.5461, allocations: 45.38 kB / 0.9519 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.5462, allocations: 34.03 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5462, allocations: 9.297 kB / 0.952 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.5462, allocations: 31.81 kB / 0.952 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5462, allocations: 224 / 0.952 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.5464, allocations: 62.61 kB / 0.9521 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.5464, allocations: 86.89 kB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5465, allocations: 176.5 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.5465, allocations: 25.7 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.5466, allocations: 114.2 kB / 0.9524 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.5466, allocations: 9.891 kB / 0.9524 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.5466, allocations: 22.34 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.5467, allocations: 324.2 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.5467, allocations: 9.188 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.5467, allocations: 28.98 kB / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.5468, allocations: 34.16 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5468, allocations: 1.531 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.001e-05/0.5469, allocations: 75.02 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5469, allocations: 7.812 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5469, allocations: 3.984 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5469, allocations: 1.062 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.547, allocations: 11.25 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.547, allocations: 1.25 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.547, allocations: 10.34 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.547, allocations: 5.344 kB / 0.953 GB, free: 5.691 MB / 0.7169 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 4.826e-05/0.5471, allocations: 114.9 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.5471, allocations: 12.41 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.5471, allocations: 16.17 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5472, allocations: 1.594 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5472, allocations: 0 / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5472, allocations: 1.281 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.5475, allocations: 0.5023 MB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5475, allocations: 1.062 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.5475, allocations: 13.45 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5475, allocations: 5.875 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.5475, allocations: 0.9688 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5475, allocations: 2.156 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5475, allocations: 1.469 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.328e-05/0.5476, allocations: 106.3 kB / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.5477, allocations: 93.88 kB / 0.9538 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.5477, allocations: 5.219 kB / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.5477, allocations: 1.281 kB / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.5477, allocations: 10.41 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.5477, allocations: 1.219 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.5478, allocations: 132.2 kB / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5478, allocations: 0 / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001913/0.548, allocations: 8.75 kB / 0.954 GB, free: 4.68 MB / 0.7169 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.0002216/0.5482, allocations: 0.6563 MB / 0.9546 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.5483, allocations: 28.55 kB / 0.9546 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5483, allocations: 0 / 0.9546 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.5484, allocations: 16.69 kB / 0.9546 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.5485, allocations: 12.38 kB / 0.9547 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.5494, allocations: 1.444 MB / 0.9561 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.836e-05/0.5495, allocations: 0.6989 MB / 0.9567 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.5496, allocations: 17.62 kB / 0.9568 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.5496, allocations: 27.61 kB / 0.9568 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.5496, allocations: 1.188 kB / 0.9568 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.5843, allocations: 1.589 MB / 0.9583 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.5844, allocations: 214.8 kB / 0.9585 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.22, allocations: 0 / 0.9585 GB, free: 0.8828 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches