Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002613/0.002613, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.15/3.15, allocations: 497.2 MB / 0.7811 GB, free: 33.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 69.47 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002411/0.3632, allocations: 0.8296 MB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.3633, allocations: 43.78 kB / 1.305 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.3634, allocations: 0 / 1.305 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.3634, allocations: 7.922 kB / 1.305 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.3635, allocations: 7.875 kB / 1.305 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.565e-05/0.3636, allocations: 19.98 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3637, allocations: 67.78 kB / 1.305 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3639, allocations: 35.97 kB / 1.305 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.3639, allocations: 19.88 kB / 1.305 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.364, allocations: 35.78 kB / 1.305 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.364, allocations: 4 kB / 1.305 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.364, allocations: 8 kB / 1.305 GB, free: 464 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.3641, allocations: 7.938 kB / 1.305 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3641, allocations: 39.78 kB / 1.305 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3643, allocations: 79.81 kB / 1.305 GB, free: 336 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3643, allocations: 0 / 1.305 GB, free: 336 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3643, allocations: 0 / 1.305 GB, free: 336 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3643, allocations: 4 kB / 1.305 GB, free: 332 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006347/0.3649, allocations: 389.2 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.365, allocations: 8.625 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.365, allocations: 38.75 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.3651, allocations: 8.891 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.3654, allocations: 200.1 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3654, allocations: 8.375 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3654, allocations: 4.375 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3656, allocations: 106.2 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3656, allocations: 3.938 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3656, allocations: 4 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3656, allocations: 4 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.3657, allocations: 39.86 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.3664, allocations: 436.7 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.3665, allocations: 37.19 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3665, allocations: 21.84 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3665, allocations: 0 / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.3666, allocations: 34.56 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3666, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002088/0.3668, allocations: 61.52 kB / 1.306 GB, free: 14.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3668, allocations: 77.11 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.367, allocations: 162.1 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.367, allocations: 25.7 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.3671, allocations: 108 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.3672, allocations: 7.953 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.3672, allocations: 17.97 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3674, allocations: 322.8 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.3674, allocations: 11.94 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.3674, allocations: 13.72 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.3675, allocations: 25.72 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3675, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.3676, allocations: 61.58 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3676, allocations: 11.94 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3676, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3676, allocations: 96 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.3677, allocations: 8 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3677, allocations: 3.984 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.3677, allocations: 7.938 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3678, allocations: 4 kB / 1.307 GB, free: 13.83 MB / 1.014 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 (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 prepare postOptimizeDAE: time 9.824e-05/0.3678, allocations: 121.9 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.3679, allocations: 11.89 kB / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.3679, allocations: 7.875 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3679, allocations: 4 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3679, allocations: 3.938 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3679, allocations: 0 / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.3684, allocations: 474.8 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3684, allocations: 4.062 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3685, allocations: 7.938 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3685, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3685, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3685, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3685, allocations: 4 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.3686, allocations: 81.81 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.3687, allocations: 93.03 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3687, allocations: 4 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.3687, allocations: 4 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.3687, allocations: 0 / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3687, allocations: 3.984 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001065/0.3689, allocations: 115.3 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3689, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001994/0.3691, allocations: 15.89 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005676/0.3696, allocations: 0.6171 MB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3697, allocations: 19.92 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3697, allocations: 0 / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.3698, allocations: 8.156 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.3699, allocations: 8 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3713, allocations: 1.335 MB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3717, allocations: 0.6889 MB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.3717, allocations: 12.42 kB / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.3718, allocations: 27.42 kB / 1.311 GB, free: 9.906 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/0.3718, allocations: 0 / 1.311 GB, free: 9.906 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.3993, allocations: 1.585 MB / 1.312 GB, free: 8.422 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.568, allocations: 7.109 kB / 1.312 GB, free: 8.422 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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: 15.355004931800067]