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.001425/0.001425, allocations: 108.6 kB / 16.45 MB, free: 6.453 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.002093/0.002093, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.269/3.269, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.002/0.002, allocations: 74.58 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4078, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.003569/0.4114, allocations: 0.883 MB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.4116, allocations: 47.78 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.4117, allocations: 4 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.939e-05/0.4118, allocations: 19.8 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.4119, allocations: 11.88 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.883e-05/0.412, allocations: 19.98 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4123, allocations: 91.69 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.4124, allocations: 41.09 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.961e-05/0.4125, allocations: 27.88 kB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.4126, allocations: 39.78 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4126, allocations: 8 kB / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.4127, allocations: 8 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.4127, allocations: 15.92 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.4128, allocations: 47.61 kB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.413, allocations: 99.83 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.413, allocations: 0 / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.413, allocations: 0 / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.413, allocations: 0 / 1.322 GB, free: 1.961 MB / 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.0007564/0.4138, allocations: 407.1 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.4138, allocations: 15.92 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.4139, allocations: 46.73 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.4139, allocations: 8.891 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.4143, allocations: 204.3 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4143, allocations: 12.56 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.4143, allocations: 12.38 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4146, allocations: 113.5 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4146, allocations: 0 / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4146, allocations: 0 / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4146, allocations: 4 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.4147, allocations: 39.98 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.4154, allocations: 464.5 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.4154, allocations: 41.08 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4155, allocations: 21.84 kB / 1.323 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.4156, allocations: 0 / 1.323 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4156, allocations: 38.5 kB / 1.323 GB, free: 376 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.4156, allocations: 224 / 1.323 GB, free: 376 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.4158, allocations: 53.64 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4158, allocations: 84.98 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4161, allocations: 187.1 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4161, allocations: 29.69 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.4162, allocations: 112.2 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.4162, allocations: 7.938 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4162, allocations: 17.72 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4164, allocations: 322.8 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.4164, allocations: 8 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.4165, allocations: 13.72 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.4165, allocations: 33.72 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4165, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.645e-05/0.4166, allocations: 61.58 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4166, allocations: 6.344 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4166, allocations: 0 / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4166, allocations: 4 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.4167, allocations: 4 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4167, allocations: 0 / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.4168, allocations: 23.81 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.4168, allocations: 8 kB / 1.324 GB, free: 15.33 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.0001006/0.4169, allocations: 114.9 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.4169, allocations: 15.91 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.4169, allocations: 12.56 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4169, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4169, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.417, allocations: 8.016 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.4174, allocations: 478.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4174, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.4175, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4175, allocations: 3.938 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.4175, allocations: 3.984 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4175, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4175, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.4176, allocations: 85.91 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.4177, allocations: 93.05 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4177, allocations: 3.938 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.4177, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.4177, allocations: 3.938 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.4177, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001452/0.4179, allocations: 139.2 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4179, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001959/0.4181, allocations: 16.03 kB / 1.325 GB, free: 14.25 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.0005594/0.4186, allocations: 0.617 MB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.4188, allocations: 16.03 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4188, allocations: 4.062 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.4188, allocations: 8 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.419, allocations: 9.891 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4205, allocations: 1.403 MB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4209, allocations: 0.7041 MB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.4209, allocations: 8.547 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.4209, allocations: 31.42 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.4209, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.4491, allocations: 1.754 MB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.768, allocations: 3.984 kB / 1.33 GB, free: 9.641 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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: 15.618667447939515]