Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_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.0009153/0.0009153, allocations: 85.94 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.001154/0.001154, 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.382/1.382, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003528, allocations: 8 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7394, allocations: 142.3 MB / 0.9538 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001604/0.741, allocations: 1.279 MB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.7423, allocations: 0.831 MB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.7424, allocations: 1.219 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.7426, allocations: 57.47 kB / 0.9559 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.7431, allocations: 117.5 kB / 0.9561 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.377e-05/0.7432, allocations: 5.438 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.7437, allocations: 326.6 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.7438, allocations: 42.16 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.7442, allocations: 118.2 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.7445, allocations: 131.9 kB / 0.9567 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.7446, allocations: 10.84 kB / 0.9567 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.7479, allocations: 0.4883 MB / 0.9571 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.748, allocations: 43.92 kB / 0.9572 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.7482, allocations: 68.55 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.7489, allocations: 451.9 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.749, allocations: 0 / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.749, allocations: 0 / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.749, allocations: 0 / 0.9577 GB, free: 5.422 MB / 0.7169 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.001405/0.7504, allocations: 0.606 MB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.7505, allocations: 9.188 kB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.7505, allocations: 40.36 kB / 0.9583 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.7506, allocations: 33.86 kB / 0.9584 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.7511, allocations: 362.9 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7511, allocations: 6.75 kB / 0.9587 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.7511, allocations: 8.109 kB / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.7513, allocations: 97.64 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7513, allocations: 0 / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7513, allocations: 5.312 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7513, allocations: 1.375 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.7514, allocations: 75.5 kB / 0.9589 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.7518, allocations: 352.6 kB / 0.9592 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.7519, allocations: 98.84 kB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.752, allocations: 72.02 kB / 0.9594 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.752, allocations: 1.375 kB / 0.9594 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.7521, allocations: 35.88 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7521, allocations: 0 / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003303/0.7524, allocations: 185.3 kB / 0.9596 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.7524, allocations: 138.2 kB / 0.9597 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.753, allocations: 0.4961 MB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.753, allocations: 30.83 kB / 0.9602 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.7532, allocations: 160.9 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.7532, allocations: 13.84 kB / 0.9604 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.7532, allocations: 4.906 kB / 0.9604 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.7533, allocations: 344.7 kB / 0.9607 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.7534, allocations: 121.1 kB / 0.9609 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.7536, allocations: 182.1 kB / 0.961 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.7538, allocations: 130.2 kB / 0.9612 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7538, allocations: 4 kB / 0.9612 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004496/0.7543, allocations: 320.2 kB / 0.9615 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7543, allocations: 6.25 kB / 0.9615 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7543, allocations: 1.094 kB / 0.9615 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7543, allocations: 1.969 kB / 0.9615 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7544, allocations: 17.11 kB / 0.9615 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7545, allocations: 4.953 kB / 0.9615 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.7546, allocations: 28.72 kB / 0.9615 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.7547, allocations: 8.375 kB / 0.9615 GB, free: 2.211 MB / 0.7169 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.0001427/0.7548, allocations: 191.9 kB / 0.9617 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.7549, allocations: 29.88 kB / 0.9617 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.7552, allocations: 177.6 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.7552, allocations: 1 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7552, allocations: 1.438 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7552, allocations: 5.047 kB / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.7554, allocations: 294 kB / 0.9622 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7554, allocations: 0 / 0.9622 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.7555, allocations: 20.67 kB / 0.9622 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7555, allocations: 1.734 kB / 0.9622 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7555, allocations: 0.9688 kB / 0.9622 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7556, allocations: 5.406 kB / 0.9622 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7556, allocations: 1.531 kB / 0.9622 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.7558, allocations: 204.5 kB / 0.9624 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7559, allocations: 135.6 kB / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.756, allocations: 2.344 kB / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.7561, allocations: 9.797 kB / 0.9626 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.7561, allocations: 10.61 kB / 0.9626 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.7562, allocations: 3.906 kB / 0.9626 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003969/0.7566, allocations: 386 kB / 0.9629 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7566, allocations: 0 / 0.9629 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004964/0.7571, allocations: 104.8 kB / 0.963 GB, free: 1.07 MB / 0.7169 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.0006914/0.7578, allocations: 0.7557 MB / 0.9638 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.7581, allocations: 192.9 kB / 0.964 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7581, allocations: 0 / 0.964 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.7582, allocations: 54.08 kB / 0.964 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.7585, allocations: 52.28 kB / 0.9641 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.7622, allocations: 2.324 MB / 0.9663 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.7626, allocations: 0.8109 MB / 0.9671 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.7628, allocations: 47.59 kB / 0.9672 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.7629, allocations: 87.34 kB / 0.9673 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.7629, allocations: 0 / 0.9673 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.787, allocations: 9.593 MB / 0.9766 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.7872, allocations: 207.5 kB / 0.9768 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.572, allocations: 0 / 0.9768 GB, free: 8.223 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat does not exist to compare? outputFormat=mat