Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001536/0.001536, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001672/0.001672, allocations: 220.4 kB / 22.25 MB, free: 5.102 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002152/0.002152, allocations: 71.72 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002251/0.3777, allocations: 0.8406 MB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.3778, allocations: 55.72 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.3779, allocations: 0 / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.3779, allocations: 11.86 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.378, allocations: 19.81 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.819e-05/0.3781, allocations: 23.98 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3782, allocations: 75.83 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3784, allocations: 49.2 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.3784, allocations: 43.73 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.3785, allocations: 27.8 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3785, allocations: 8 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3785, allocations: 8 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.3786, allocations: 23.92 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.3786, allocations: 31.8 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3788, allocations: 103.7 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3788, allocations: 0 / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3788, allocations: 4 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3788, allocations: 0 / 1.327 GB, free: 192 kB / 1.014 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.0005028/0.3793, allocations: 326 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3793, allocations: 12.03 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.3794, allocations: 42.73 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.3794, allocations: 8.891 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.3797, allocations: 146.5 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.3797, allocations: 8.562 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3797, allocations: 12.38 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3799, allocations: 104.9 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3799, allocations: 8 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3799, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3799, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.251e-05/0.38, allocations: 43.92 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.3807, allocations: 423.6 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.3807, allocations: 41.16 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.3808, allocations: 17.78 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.3808, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3808, allocations: 42.56 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3808, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002014/0.381, allocations: 57.58 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3811, allocations: 77.11 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3813, allocations: 191.2 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3813, allocations: 25.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.3814, allocations: 112 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-06/0.3814, allocations: 3.953 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3814, allocations: 17.72 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3816, allocations: 323 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.3816, allocations: 8.25 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.3816, allocations: 29.58 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.3817, allocations: 33.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3817, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.271e-05/0.3818, allocations: 53.59 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3818, allocations: 8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3818, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3818, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.3819, allocations: 12.05 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3819, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.3819, allocations: 11.83 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.3819, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 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 0.0001026/0.382, allocations: 115.6 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.3821, allocations: 11.91 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3821, allocations: 16.48 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3821, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3821, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3821, allocations: 7.938 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.3825, allocations: 437.9 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3825, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.3825, allocations: 7.922 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3825, allocations: 7.938 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3825, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3825, allocations: 3.984 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3825, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.3826, allocations: 81.91 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.3827, allocations: 11.94 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3827, allocations: 4.031 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.3827, allocations: 7.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.3827, allocations: 8 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3827, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001157/0.3828, allocations: 136.3 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3828, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001836/0.383, allocations: 8 kB / 1.33 GB, free: 12.84 MB / 1.029 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.0004302/0.3835, allocations: 0.6209 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.3835, allocations: 20.03 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3835, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.3836, allocations: 7.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.3837, allocations: 11.59 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3852, allocations: 1.415 MB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.3852, allocations: 84.38 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.3853, allocations: 12.48 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.3853, allocations: 27.42 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3853, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.4144, allocations: 2.294 MB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.57, allocations: 8.203 kB / 1.334 GB, free: 8.344 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.41501913400134]