Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001742/0.001742, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002489/0.002489, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.8 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",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.002038/0.002038, allocations: 67.31 kB / 1.117 GB, free: 39.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 170 MB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002688/0.3523, allocations: 0.8896 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.3525, allocations: 63.7 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3526, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.596e-05/0.3527, allocations: 7.875 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3528, allocations: 11.88 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.947e-05/0.3529, allocations: 35.91 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.353, allocations: 79.81 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3532, allocations: 33.3 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.3533, allocations: 35.8 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.3534, allocations: 35.78 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3534, allocations: 8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.82e-05/0.3534, allocations: 8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.3534, allocations: 19.88 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.3535, allocations: 43.73 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.3538, allocations: 107 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3538, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3538, allocations: 4 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3538, allocations: 0 / 1.285 GB, free: 9.977 MB / 0.9825 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.0007452/0.3546, allocations: 328.1 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.3546, allocations: 8.031 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.064e-05/0.3547, allocations: 42.75 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.3547, allocations: 12.89 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3551, allocations: 150.5 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3551, allocations: 12.56 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3551, allocations: 8.312 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.3553, allocations: 109.4 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3554, allocations: 0 / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3554, allocations: 4 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3554, allocations: 4 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3555, allocations: 43.92 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.3563, allocations: 435.6 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.3564, allocations: 45.08 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.3564, allocations: 17.84 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3565, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3565, allocations: 38.56 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.3565, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002367/0.3567, allocations: 57.58 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.3568, allocations: 77.11 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.357, allocations: 184 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.357, allocations: 29.69 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.3571, allocations: 112.3 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.3571, allocations: 7.938 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.3571, allocations: 17.72 kB / 1.286 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3573, allocations: 322.8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.3573, allocations: 4 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.3573, allocations: 17.72 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.113e-05/0.3574, allocations: 29.66 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3574, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.3575, allocations: 65.58 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3575, allocations: 4 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3575, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3575, allocations: 4 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.3576, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3576, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.3576, allocations: 19.81 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3576, allocations: 64 / 1.287 GB, free: 7.574 MB / 0.9825 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 8.594e-05/0.3577, allocations: 117.8 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.3578, allocations: 11.91 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.3578, allocations: 12.5 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3578, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3578, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.3578, allocations: 7.922 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3582, allocations: 449.9 kB / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3582, allocations: 0 / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.3583, allocations: 4 kB / 1.287 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3583, allocations: 4.047 kB / 1.287 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3583, allocations: 11.86 kB / 1.287 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3583, allocations: 4 kB / 1.287 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3583, allocations: 3.938 kB / 1.287 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.531e-05/0.3584, allocations: 82.11 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.3584, allocations: 19.88 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3584, allocations: 7.938 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.3585, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3585, allocations: 4 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3585, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001243/0.3586, allocations: 139.2 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3586, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002011/0.3588, allocations: 12.03 kB / 1.288 GB, free: 6.609 MB / 0.9825 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.0004666/0.3593, allocations: 0.6189 MB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3594, allocations: 19.94 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3594, allocations: 4.156 kB / 1.288 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.3594, allocations: 4 kB / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.3596, allocations: 10.44 kB / 1.288 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3612, allocations: 1.398 MB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3615, allocations: 0.7039 MB / 1.29 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.3616, allocations: 12.48 kB / 1.29 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.3616, allocations: 27.42 kB / 1.29 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.3616, allocations: 0 / 1.29 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.3893, allocations: 1.852 MB / 1.292 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.6, allocations: 3.109 kB / 1.292 GB, free: 1.941 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.591293903067708]