Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001499/0.001499, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00169/0.00169, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.252/2.252, allocations: 390.2 MB / 0.6644 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5349, allocations: 140.4 MB / 0.9492 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002032/0.537, allocations: 0.9334 MB / 0.9501 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.5371, allocations: 50.94 kB / 0.9502 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.5372, allocations: 1.375 kB / 0.9502 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.5373, allocations: 7.922 kB / 0.9502 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.5374, allocations: 5.25 kB / 0.9502 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-05/0.5374, allocations: 20.27 kB / 0.9502 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.5375, allocations: 80.03 kB / 0.9503 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.5377, allocations: 60.38 kB / 0.9504 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.5378, allocations: 39.64 kB / 0.9504 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.5378, allocations: 38.45 kB / 0.9504 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.5378, allocations: 7.719 kB / 0.9504 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.5379, allocations: 7.25 kB / 0.9505 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.5379, allocations: 19.8 kB / 0.9505 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.5379, allocations: 39.05 kB / 0.9505 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.538, allocations: 95.2 kB / 0.9506 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.538, allocations: 4.797 kB / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.538, allocations: 0 / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.538, allocations: 0 / 0.9506 GB, free: 8.156 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.0003432/0.5384, allocations: 399.9 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5384, allocations: 10.53 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.5385, allocations: 45.09 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.5385, allocations: 14.94 kB / 0.9511 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.5387, allocations: 211.4 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5387, allocations: 4.844 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.5387, allocations: 9.812 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.5389, allocations: 112.6 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5389, allocations: 4 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5389, allocations: 1.219 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5389, allocations: 2.688 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.539, allocations: 48.31 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.5395, allocations: 468.1 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.431e-05/0.5395, allocations: 49.66 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.5396, allocations: 28.64 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5396, allocations: 1.188 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.5396, allocations: 43.62 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.5396, allocations: 3.938 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001708/0.5398, allocations: 64.16 kB / 0.9521 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.5398, allocations: 82.73 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.54, allocations: 164.3 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.54, allocations: 29.64 kB / 0.9523 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.54, allocations: 113.8 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.54, allocations: 9.25 kB / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.5401, allocations: 26.83 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.5401, allocations: 320.5 kB / 0.9528 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.5401, allocations: 13.7 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.5402, allocations: 21.25 kB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.5402, allocations: 41.25 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5402, allocations: 5.344 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.324e-05/0.5403, allocations: 68.22 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5403, allocations: 4.719 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5403, allocations: 128 / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5404, allocations: 5.094 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.5404, allocations: 8.469 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.5404, allocations: 4.906 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.5405, allocations: 5.969 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.5405, allocations: 5.656 kB / 0.9529 GB, free: 5.828 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 5.616e-05/0.5406, allocations: 122.5 kB / 0.9531 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.5406, allocations: 16.66 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.5406, allocations: 11.12 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.5406, allocations: 1.312 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5406, allocations: 1.406 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.5407, allocations: 0 / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.541, allocations: 0.5114 MB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.541, allocations: 0 / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.541, allocations: 6.844 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.541, allocations: 5.156 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.541, allocations: 1.469 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.541, allocations: 1.25 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.541, allocations: 1.438 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.057e-05/0.5411, allocations: 111.2 kB / 0.9537 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.5412, allocations: 89.75 kB / 0.9538 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5412, allocations: 4.812 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.728e-05/0.5412, allocations: 1.375 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.5412, allocations: 9.422 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.5412, allocations: 2.281 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.5413, allocations: 133 kB / 0.9539 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5413, allocations: 4 kB / 0.9539 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001932/0.5415, allocations: 15.78 kB / 0.954 GB, free: 4.797 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.0002318/0.5417, allocations: 0.6442 MB / 0.9546 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.5418, allocations: 32.3 kB / 0.9546 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5419, allocations: 0 / 0.9546 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.5419, allocations: 8.188 kB / 0.9546 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.542, allocations: 10.48 kB / 0.9546 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.543, allocations: 1.457 MB / 0.9561 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.5431, allocations: 0.6997 MB / 0.9567 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.5431, allocations: 5.562 kB / 0.9568 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.5432, allocations: 32.27 kB / 0.9568 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5432, allocations: 4 kB / 0.9568 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9139/1.457, allocations: 1.591 MB / 0.9583 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.457, allocations: 216 kB / 0.9585 GB, free: 1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/3.362, allocations: 0 / 0.9585 GB, free: 1 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches