Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0009919/0.0009919, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001288/0.001288, allocations: 172.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.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.622/2.622, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003522, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7489, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003888/0.7529, allocations: 2.667 MB / 0.9837 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.7559, allocations: 1.77 MB / 0.9855 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.7561, allocations: 4 kB / 0.9855 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.7563, allocations: 39.7 kB / 0.9855 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.7569, allocations: 135.4 kB / 0.9856 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.7576, allocations: 167.5 kB / 0.9858 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.7581, allocations: 370.8 kB / 0.9861 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.7587, allocations: 316.1 kB / 0.9865 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.7589, allocations: 107.5 kB / 0.9866 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.7592, allocations: 147.5 kB / 0.9867 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.7593, allocations: 11.98 kB / 0.9867 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.7598, allocations: 255.6 kB / 0.9869 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.7599, allocations: 79.72 kB / 0.987 GB, free: 232 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.7599, allocations: 65.58 kB / 0.9871 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.7604, allocations: 363.1 kB / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7604, allocations: 0 / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7604, allocations: 0 / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.7604, allocations: 0 / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008281/0.7612, allocations: 0.5184 MB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7613, allocations: 8.031 kB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.7614, allocations: 54.55 kB / 0.988 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.7621, allocations: 115.6 kB / 0.9881 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.7624, allocations: 256 kB / 0.9884 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.7625, allocations: 16.42 kB / 0.9884 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.7625, allocations: 23.95 kB / 0.9884 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.7631, allocations: 345.2 kB / 0.9887 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.7631, allocations: 7.938 kB / 0.9887 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.7631, allocations: 8 kB / 0.9887 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.7632, allocations: 24.42 kB / 0.9888 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.7636, allocations: 289.5 kB / 0.989 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.7657, allocations: 1.745 MB / 0.9907 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.7662, allocations: 322.1 kB / 0.991 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.7664, allocations: 109.7 kB / 0.9912 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.7665, allocations: 85.09 kB / 0.9912 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7665, allocations: 42.45 kB / 0.9913 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.7665, allocations: 0 / 0.9913 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.002339/0.7689, allocations: 0.9732 MB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.7689, allocations: 85.33 kB / 0.9923 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.7692, allocations: 215.6 kB / 0.9925 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.7692, allocations: 29.7 kB / 0.9925 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.7693, allocations: 176.1 kB / 0.9927 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.7694, allocations: 66.92 kB / 0.9928 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.7694, allocations: 8 kB / 0.9928 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7696, allocations: 334.8 kB / 0.9931 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.7698, allocations: 127.9 kB / 0.9932 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.77, allocations: 209.4 kB / 0.9934 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.7703, allocations: 165.4 kB / 0.9936 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7703, allocations: 0 / 0.9936 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008342/0.7711, allocations: 0.5063 MB / 0.9941 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7712, allocations: 8 kB / 0.9941 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7712, allocations: 0 / 0.9941 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.7717, allocations: 155.5 kB / 0.9942 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.7719, allocations: 63.83 kB / 0.9943 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.7749, allocations: 3.958 MB / 0.9982 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.7751, allocations: 19.92 kB / 0.9982 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.7752, allocations: 12 kB / 0.9982 GB, free: 3.965 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.7754, allocations: 169.9 kB / 0.9983 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.7755, allocations: 23.72 kB / 0.9984 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.7764, allocations: 483 kB / 0.9988 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7764, allocations: 7.953 kB / 0.9988 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.7764, allocations: 0 / 0.9988 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7764, allocations: 0 / 0.9988 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.7779, allocations: 1.001 MB / 0.9998 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.778, allocations: 4 kB / 0.9998 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.7781, allocations: 35.92 kB / 0.9999 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.7785, allocations: 147.5 kB / 1 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.7785, allocations: 8 kB / 1 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.7816, allocations: 3.942 MB / 1.004 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7816, allocations: 8.062 kB / 1.004 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.7825, allocations: 0.6328 MB / 1.004 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.7827, allocations: 136.7 kB / 1.005 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.7828, allocations: 8 kB / 1.005 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.783, allocations: 15.98 kB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.7831, allocations: 31.92 kB / 1.005 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.7831, allocations: 8 kB / 1.005 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001686/0.7833, allocations: 160.1 kB / 1.005 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7833, allocations: 0 / 1.005 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005425/0.7838, allocations: 84 kB / 1.005 GB, free: 12.57 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.7851, allocations: 1.186 MB / 1.006 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.7861, allocations: 0.5821 MB / 1.007 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7861, allocations: 0 / 1.007 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.7866, allocations: 399.9 kB / 1.007 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.7871, allocations: 38.7 kB / 1.007 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.7901, allocations: 1.806 MB / 1.009 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.7905, allocations: 0.7831 MB / 1.01 GB, free: 7.539 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.7907, allocations: 62.23 kB / 1.01 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.7909, allocations: 67.42 kB / 1.01 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/0.7909, allocations: 0 / 1.01 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.8108, allocations: 6.204 MB / 1.016 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.811, allocations: 224 kB / 1.016 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.859, allocations: 0 / 1.016 GB, free: 1.172 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat does not exist to compare? outputFormat=mat