Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009471, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 11.94 kB / 0.8707 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6989, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001826/0.7008, allocations: 1.237 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.7021, allocations: 0.7993 MB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.7022, allocations: 7.938 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.7025, allocations: 51.78 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.7029, allocations: 131.6 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.969e-05/0.7029, allocations: 4 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.7033, allocations: 239.4 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.7034, allocations: 44.73 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.7036, allocations: 127.5 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.7038, allocations: 123.5 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.7038, allocations: 12 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.7068, allocations: 0.5031 MB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.7069, allocations: 43.81 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.707, allocations: 73.52 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.7075, allocations: 441.1 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.7075, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7075, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7076, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001292/0.7089, allocations: 0.6069 MB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7089, allocations: 11.98 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.709, allocations: 35.56 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.7095, allocations: 361.3 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7095, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7096, allocations: 8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.7097, allocations: 104.9 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.7097, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.7098, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.7098, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.7099, allocations: 71.88 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.7103, allocations: 352 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7104, allocations: 102.4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.7104, allocations: 4.062 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.7105, allocations: 46.5 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.7105, allocations: 0 / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003171/0.7108, allocations: 189.4 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.7108, allocations: 132.5 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.7114, allocations: 0.5014 MB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.7114, allocations: 25.7 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.7116, allocations: 160.3 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.7116, allocations: 15.8 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.7116, allocations: 0 / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7117, allocations: 342.8 kB / 1.027 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.7119, allocations: 115.9 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.7121, allocations: 184.5 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.7123, allocations: 131.8 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7123, allocations: 0 / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000412/0.7127, allocations: 325.1 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7127, allocations: 11.95 kB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7127, allocations: 4 kB / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7128, allocations: 4 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.7129, allocations: 19.92 kB / 1.028 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.7129, allocations: 3.938 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.7131, allocations: 23.81 kB / 1.028 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.7131, allocations: 4 kB / 1.028 GB, free: 9.113 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.7133, allocations: 185.7 kB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.7133, allocations: 27.62 kB / 1.028 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.7137, allocations: 191.6 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7137, allocations: 0 / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7137, allocations: 4 kB / 1.029 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7137, allocations: 0 / 1.029 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.714, allocations: 289.5 kB / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.714, allocations: 0 / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.784e-05/0.7141, allocations: 16.11 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.7141, allocations: 7.938 kB / 1.029 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7141, allocations: 4 kB / 1.029 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7141, allocations: 3.953 kB / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7141, allocations: 0 / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.7144, allocations: 228.5 kB / 1.029 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.7146, allocations: 140.6 kB / 1.029 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.7146, allocations: 0 / 1.029 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.7148, allocations: 7.984 kB / 1.029 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.7148, allocations: 15.92 kB / 1.029 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.7148, allocations: 8 kB / 1.029 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000401/0.7152, allocations: 379 kB / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7152, allocations: 0 / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004115/0.7156, allocations: 100 kB / 1.03 GB, free: 7.41 MB / 0.7794 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/0.716, allocations: 135.1 kB / 1.03 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.7163, allocations: 187.8 kB / 1.03 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7163, allocations: 0 / 1.03 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.7164, allocations: 55.89 kB / 1.03 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.7167, allocations: 50.06 kB / 1.03 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/0.7177, allocations: 0.6698 MB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.7181, allocations: 0.8184 MB / 1.032 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000127/0.7182, allocations: 46.3 kB / 1.032 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.7183, allocations: 27.42 kB / 1.032 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7183, allocations: 0 / 1.032 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of Templates: time 0.01124/0.7295, allocations: 6.419 MB / 1.038 GB, free: 14.99 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches