Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001299/0.001298, allocations: 98.44 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.001469/0.001469, allocations: 177.3 kB / 15.95 MB, free: 216 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7652, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005868/0.7711, allocations: 4.151 MB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004425/0.7756, allocations: 2.309 MB / 0.9599 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/0.7764, allocations: 21.44 kB / 0.9599 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.7768, allocations: 75.52 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.7781, allocations: 359.4 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.7792, allocations: 309.9 kB / 0.9606 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.7803, allocations: 0.5945 MB / 0.9612 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/0.7811, allocations: 425.5 kB / 0.9616 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.7816, allocations: 273.6 kB / 0.9619 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.7821, allocations: 279.7 kB / 0.9622 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.7821, allocations: 20.25 kB / 0.9622 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.7825, allocations: 147.5 kB / 0.9623 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.7827, allocations: 141.7 kB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.7828, allocations: 140.2 kB / 0.9626 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.7834, allocations: 0.5981 MB / 0.9632 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7834, allocations: 0 / 0.9632 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7834, allocations: 4 kB / 0.9632 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.7834, allocations: 1.219 kB / 0.9632 GB, free: 0.8008 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001206/0.7846, allocations: 0.8276 MB / 0.964 GB, free: 104 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7847, allocations: 9.938 kB / 0.964 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.884e-05/0.7848, allocations: 93.53 kB / 0.9641 GB, free: 20 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7858, allocations: 179.6 kB / 0.9642 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008163/0.7866, allocations: 485.2 kB / 0.9647 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.7867, allocations: 37.7 kB / 0.9647 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.7868, allocations: 45.41 kB / 0.9648 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7879, allocations: 0.8401 MB / 0.9656 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.7879, allocations: 7.5 kB / 0.9656 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.788, allocations: 27.55 kB / 0.9656 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.7881, allocations: 69.2 kB / 0.9657 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.789, allocations: 0.5617 MB / 0.9663 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00501/0.794, allocations: 5.653 MB / 0.9718 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.7948, allocations: 448.8 kB / 0.9722 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.7948, allocations: 10.97 kB / 0.9722 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.7949, allocations: 36.56 kB / 0.9723 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.7949, allocations: 0 / 0.9723 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.003061/0.7979, allocations: 1.497 MB / 0.9737 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.798, allocations: 58.31 kB / 0.9738 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.7986, allocations: 0.489 MB / 0.9742 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.7986, allocations: 35.27 kB / 0.9743 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.7989, allocations: 363.5 kB / 0.9746 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.799, allocations: 123.2 kB / 0.9747 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.799, allocations: 10.16 kB / 0.9748 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7992, allocations: 364.3 kB / 0.9751 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.7995, allocations: 196.2 kB / 0.9753 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.8, allocations: 435.7 kB / 0.9757 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.8004, allocations: 272.1 kB / 0.976 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.8004, allocations: 6.062 kB / 0.976 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001368/0.8018, allocations: 0.8117 MB / 0.9768 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8018, allocations: 9.625 kB / 0.9768 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8019, allocations: 16.52 kB / 0.9768 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.8024, allocations: 155.3 kB / 0.9769 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.8029, allocations: 122.6 kB / 0.9771 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.8062, allocations: 4.05 MB / 0.981 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.8067, allocations: 34.03 kB / 0.981 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.8067, allocations: 34.59 kB / 0.9811 GB, free: 1.051 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.8071, allocations: 216.3 kB / 0.9813 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.8071, allocations: 62.36 kB / 0.9813 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.8082, allocations: 0.6004 MB / 0.9819 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8082, allocations: 3.938 kB / 0.9819 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8082, allocations: 5.125 kB / 0.9819 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8083, allocations: 3.984 kB / 0.9819 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.8101, allocations: 1.258 MB / 0.9832 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8102, allocations: 2.219 kB / 0.9832 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.8104, allocations: 54.52 kB / 0.9832 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/0.8108, allocations: 148.4 kB / 0.9834 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.8109, allocations: 7.594 kB / 0.9834 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.8139, allocations: 4.039 MB / 0.9873 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8139, allocations: 5.406 kB / 0.9873 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.815, allocations: 0.7994 MB / 0.9881 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.8153, allocations: 166 kB / 0.9883 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.8154, allocations: 7.906 kB / 0.9883 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.8157, allocations: 26.03 kB / 0.9883 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.8158, allocations: 33.28 kB / 0.9883 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.8158, allocations: 12.19 kB / 0.9883 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004047/0.8162, allocations: 339.5 kB / 0.9887 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8162, allocations: 0 / 0.9887 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006982/0.8169, allocations: 144 kB / 0.9888 GB, free: 10.05 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/0.8184, allocations: 1.809 MB / 0.9906 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.8199, allocations: 1.04 MB / 0.9916 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8199, allocations: 0 / 0.9916 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008716/0.8208, allocations: 0.731 MB / 0.9923 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.8217, allocations: 184.8 kB / 0.9925 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/0.829, allocations: 9.059 MB / 1.001 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.8297, allocations: 0.9142 MB / 1.002 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.8301, allocations: 121.3 kB / 1.002 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.8304, allocations: 203.4 kB / 1.003 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/0.8304, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.8581, allocations: 12.18 MB / 1.014 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8583, allocations: 236.2 kB / 1.015 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.847, allocations: 2.812 kB / 1.015 GB, free: 15.32 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat