Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001385/0.001385, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001431/0.001431, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.253/3.253, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] 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_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.09 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3811, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002637/0.3838, allocations: 0.8957 MB / 1.305 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.384, allocations: 55.72 kB / 1.305 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.3841, allocations: 0 / 1.305 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.656e-05/0.3841, allocations: 11.88 kB / 1.305 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3842, allocations: 15.8 kB / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.388e-05/0.3843, allocations: 23.98 kB / 1.305 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3845, allocations: 79.83 kB / 1.305 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3846, allocations: 33.11 kB / 1.305 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.3847, allocations: 35.8 kB / 1.305 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.3848, allocations: 43.7 kB / 1.305 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.3848, allocations: 8 kB / 1.305 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3848, allocations: 8 kB / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.3849, allocations: 15.92 kB / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.3849, allocations: 39.75 kB / 1.305 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.3851, allocations: 111.7 kB / 1.305 GB, free: 188 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3851, allocations: 0 / 1.305 GB, free: 188 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3851, allocations: 0 / 1.305 GB, free: 188 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3851, allocations: 0 / 1.305 GB, free: 188 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006222/0.3858, allocations: 403.1 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3858, allocations: 12.62 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.3859, allocations: 42.73 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3859, allocations: 8.891 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3862, allocations: 204.3 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3862, allocations: 12.56 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3863, allocations: 12.38 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3865, allocations: 99.31 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3865, allocations: 4 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3865, allocations: 4 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3865, allocations: 0 / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3866, allocations: 43.92 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.3873, allocations: 468.5 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.3874, allocations: 45.08 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.3874, allocations: 25.77 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3875, allocations: 4 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3875, allocations: 34.56 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3875, allocations: 0 / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.3877, allocations: 57.55 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/0.3878, allocations: 81.09 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.388, allocations: 182.6 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.388, allocations: 25.7 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.3881, allocations: 120.2 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.3881, allocations: 3.984 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.3882, allocations: 21.67 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3883, allocations: 322.8 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.3884, allocations: 4 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.3884, allocations: 21.66 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.3884, allocations: 25.72 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3884, allocations: 0 / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.836e-05/0.3885, allocations: 65.58 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3886, allocations: 4 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3886, allocations: 0 / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3886, allocations: 4 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.3886, allocations: 4 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3886, allocations: 0 / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.3887, allocations: 15.83 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.3887, allocations: 4.062 kB / 1.308 GB, free: 13.57 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.815e-05/0.3888, allocations: 117.8 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.3888, allocations: 11.95 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.3889, allocations: 8.781 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3889, allocations: 4 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3889, allocations: 3.938 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3889, allocations: 3.938 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.3894, allocations: 482.8 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3894, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.3894, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3895, allocations: 7.938 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3895, allocations: 4 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3895, allocations: 3.938 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3895, allocations: 3.984 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3896, allocations: 82.02 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.3897, allocations: 93 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3897, allocations: 3.938 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.3897, allocations: 4 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.3897, allocations: 0 / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3897, allocations: 7.938 kB / 1.308 GB, free: 12.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3898, allocations: 140.3 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3898, allocations: 0 / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002048/0.39, allocations: 12.03 kB / 1.309 GB, free: 12.48 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.0004959/0.3905, allocations: 0.6132 MB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.3906, allocations: 24.03 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3906, allocations: 0 / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.3906, allocations: 4 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.3908, allocations: 10.19 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.3924, allocations: 1.409 MB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3928, allocations: 0.7002 MB / 1.311 GB, free: 9.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.3928, allocations: 12.55 kB / 1.311 GB, free: 9.559 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3929, allocations: 27.42 kB / 1.311 GB, free: 9.531 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.3929, allocations: 0 / 1.311 GB, free: 9.531 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.4171, allocations: 1.749 MB / 1.313 GB, free: 7.891 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.518, allocations: 5.359 kB / 1.313 GB, free: 7.891 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.405015256721526]