Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.00082, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008604/0.0008605, allocations: 168.7 kB / 15.95 MB, free: 204 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.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.467/2.467, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 12 kB / 0.8378 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6815, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002024/0.6836, allocations: 1.271 MB / 0.9824 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.6851, allocations: 0.8381 MB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.6852, allocations: 7.875 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.6855, allocations: 51.78 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.686, allocations: 119.5 kB / 0.9834 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.9e-05/0.686, allocations: 8 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.6864, allocations: 322.3 kB / 0.9837 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.6865, allocations: 48.72 kB / 0.9837 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.6867, allocations: 115.5 kB / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.6869, allocations: 135.4 kB / 0.984 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.687, allocations: 12 kB / 0.984 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.6899, allocations: 0.4914 MB / 0.9844 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.69, allocations: 43.77 kB / 0.9845 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.6901, allocations: 69.58 kB / 0.9846 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.6906, allocations: 441.3 kB / 0.985 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6907, allocations: 0 / 0.985 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6907, allocations: 0 / 0.985 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.6907, allocations: 0 / 0.985 GB, free: 2.34 MB / 0.7325 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.001431/0.6921, allocations: 0.6147 MB / 0.9856 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.6922, allocations: 8.031 kB / 0.9856 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.6923, allocations: 34.5 kB / 0.9856 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.6923, allocations: 31.62 kB / 0.9856 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.6929, allocations: 357.3 kB / 0.986 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.693, allocations: 8 kB / 0.986 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.693, allocations: 4 kB / 0.986 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.6932, allocations: 97.03 kB / 0.9861 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6932, allocations: 11.92 kB / 0.9861 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.6932, allocations: 4 kB / 0.9861 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6933, allocations: 3.938 kB / 0.9861 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.6934, allocations: 59.94 kB / 0.9862 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.6939, allocations: 356 kB / 0.9865 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.694, allocations: 106.4 kB / 0.9866 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.6941, allocations: 59.47 kB / 0.9867 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.6942, allocations: 8 kB / 0.9867 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6942, allocations: 38.48 kB / 0.9867 GB, free: 336 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.6942, allocations: 0 / 0.9867 GB, free: 336 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.6946, allocations: 185.6 kB / 0.9869 GB, free: 144 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.6947, allocations: 140.5 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.6953, allocations: 0.4936 MB / 0.9875 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.6953, allocations: 33.7 kB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.6955, allocations: 156.3 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.6955, allocations: 7.812 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.6955, allocations: 4 kB / 0.9877 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.6957, allocations: 346.8 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.6959, allocations: 119.8 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.6961, allocations: 186.7 kB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.6963, allocations: 123.9 kB / 0.9884 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6963, allocations: 0 / 0.9884 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004505/0.6967, allocations: 333.3 kB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6968, allocations: 7.953 kB / 0.9888 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6968, allocations: 7.984 kB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6968, allocations: 4 kB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.697, allocations: 15.98 kB / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.697, allocations: 0 / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.6971, allocations: 31.77 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.6972, allocations: 4 kB / 0.9888 GB, free: 14.07 MB / 0.7481 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.0001877/0.6974, allocations: 177.7 kB / 0.989 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.6974, allocations: 35.62 kB / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.6978, allocations: 183.6 kB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6978, allocations: 7.984 kB / 0.9892 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6978, allocations: 3.938 kB / 0.9892 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6978, allocations: 0 / 0.9892 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.6981, allocations: 285.5 kB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6981, allocations: 0 / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.6981, allocations: 12.12 kB / 0.9895 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6982, allocations: 8 kB / 0.9895 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6982, allocations: 7.984 kB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6982, allocations: 3.953 kB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6982, allocations: 7.938 kB / 0.9895 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.6984, allocations: 187.2 kB / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.6986, allocations: 136.6 kB / 0.9898 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.6986, allocations: 0 / 0.9898 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.6988, allocations: 11.98 kB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.6988, allocations: 7.953 kB / 0.9899 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.6988, allocations: 4 kB / 0.9899 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004052/0.6992, allocations: 375 kB / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6992, allocations: 0 / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003939/0.6996, allocations: 104 kB / 0.9903 GB, free: 12.43 MB / 0.7481 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.0007043/0.7003, allocations: 0.7589 MB / 0.9911 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.7007, allocations: 196 kB / 0.9912 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7007, allocations: 3.938 kB / 0.9912 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.7008, allocations: 43.91 kB / 0.9913 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.7012, allocations: 61.81 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.7045, allocations: 2.323 MB / 0.9936 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.7049, allocations: 0.8146 MB / 0.9944 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000135/0.705, allocations: 45.92 kB / 0.9945 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.7052, allocations: 79.41 kB / 0.9945 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of SimCode: time 7.71e-07/0.7052, allocations: 0 / 0.9945 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.7544, allocations: 9.609 MB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/0.7548, allocations: 216.2 kB / 1.004 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.858, allocations: 1.875 kB / 1.004 GB, free: 14.36 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat does not exist to compare? outputFormat=mat