Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.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.001392/0.001392, allocations: 107.2 kB / 16.46 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.001447/0.001447, allocations: 213.7 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.319/3.319, allocations: 0.49 GB / 0.7916 GB, free: 33.28 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_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",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.002045/0.002045, allocations: 69.98 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.002334/0.3926, allocations: 0.8902 MB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.3927, allocations: 51.78 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.3928, allocations: 4 kB / 1.322 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.115e-05/0.3929, allocations: 15.8 kB / 1.322 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.393, allocations: 11.88 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.895e-05/0.393, allocations: 31.91 kB / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.3932, allocations: 79.78 kB / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3933, allocations: 41.08 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.3934, allocations: 31.86 kB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.3935, allocations: 39.78 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3935, allocations: 8 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.3935, allocations: 11.94 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.3935, allocations: 19.92 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.3936, allocations: 47.69 kB / 1.322 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3938, allocations: 103.7 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3938, allocations: 0 / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3938, allocations: 0 / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3938, allocations: 0 / 1.322 GB, free: 1.926 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.0006002/0.3944, allocations: 407.1 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.3944, allocations: 11.98 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.3945, allocations: 38.75 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.3945, allocations: 12.88 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3948, allocations: 216.3 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3949, allocations: 12.55 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3949, allocations: 4.375 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3951, allocations: 109.2 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3951, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3951, allocations: 7.938 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3951, allocations: 4 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.3952, allocations: 39.98 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.3959, allocations: 468.7 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.396, allocations: 49.25 kB / 1.323 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.396, allocations: 37.72 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.396, allocations: 0 / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3961, allocations: 30.56 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3961, allocations: 0 / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.3963, allocations: 73.53 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3964, allocations: 77.11 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3965, allocations: 176.3 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3966, allocations: 29.7 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.3966, allocations: 112 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.3967, allocations: 11.89 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.3967, allocations: 21.67 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3969, allocations: 326.8 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.3969, allocations: 8 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.3969, allocations: 25.7 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.397, allocations: 33.72 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.397, allocations: 0 / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001118/0.3971, allocations: 73.58 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3971, allocations: 4 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3971, allocations: 0 / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3971, allocations: 0 / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.3972, allocations: 11.98 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3972, allocations: 7.938 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.3972, allocations: 7.891 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3972, allocations: 8.062 kB / 1.325 GB, free: 15.24 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 (6): * Single equations (assignments): 6 * 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.046e-05/0.3973, allocations: 123.5 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.3974, allocations: 11.95 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.3974, allocations: 12.56 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3974, allocations: 4.078 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.3974, allocations: 3.984 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3974, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.3979, allocations: 0.5082 MB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3979, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.398, allocations: 15.94 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.398, allocations: 3.938 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.398, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.398, allocations: 7.984 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.398, allocations: 3.938 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.3981, allocations: 99.78 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.3982, allocations: 93.02 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3982, allocations: 11.92 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.3982, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.3982, allocations: 3.938 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3982, allocations: 8 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001164/0.3984, allocations: 128 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3984, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001945/0.3985, allocations: 11.94 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0005046/0.3991, allocations: 0.6461 MB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.3992, allocations: 20 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3992, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.3992, allocations: 19.92 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.3994, allocations: 9.547 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.4009, allocations: 1.442 MB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4012, allocations: 0.7002 MB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.4013, allocations: 8.844 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.4013, allocations: 27.42 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4013, allocations: 0 / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.425, allocations: 1.722 MB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.799, allocations: 6.234 kB / 1.33 GB, free: 9.406 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_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_degF.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.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.832975554047152]