Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.001309/0.001309, allocations: 86.95 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.001554/0.001554, 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.476/2.476, allocations: 409.4 MB / 0.684 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003858, allocations: 11.94 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7718, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00503/0.7768, allocations: 4.294 MB / 0.9853 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003718/0.7806, allocations: 2.34 MB / 0.9876 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.7809, allocations: 23.81 kB / 0.9876 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.7812, allocations: 87.16 kB / 0.9877 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.000851/0.782, allocations: 342.2 kB / 0.9881 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.7828, allocations: 310.1 kB / 0.9884 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.7838, allocations: 0.9718 MB / 0.9893 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.7845, allocations: 424.2 kB / 0.9897 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.7849, allocations: 286.7 kB / 0.99 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.7853, allocations: 322.6 kB / 0.9903 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.7854, allocations: 23.94 kB / 0.9903 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.7858, allocations: 199.7 kB / 0.9905 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.786, allocations: 167.4 kB / 0.9907 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.7861, allocations: 137.4 kB / 0.9908 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.7868, allocations: 0.645 MB / 0.9914 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7868, allocations: 0 / 0.9914 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7868, allocations: 0 / 0.9914 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.7868, allocations: 0 / 0.9914 GB, free: 11.65 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001165/0.788, allocations: 0.8411 MB / 0.9922 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.788, allocations: 12.03 kB / 0.9923 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.7882, allocations: 98.42 kB / 0.9923 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7893, allocations: 202.9 kB / 0.9925 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.79, allocations: 493.2 kB / 0.993 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.7901, allocations: 32.98 kB / 0.993 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.7901, allocations: 43.95 kB / 0.9931 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.7912, allocations: 0.8367 MB / 0.9939 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.7913, allocations: 7.938 kB / 0.9939 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.7913, allocations: 31.97 kB / 0.9939 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/0.7914, allocations: 64.97 kB / 0.994 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.7922, allocations: 0.5616 MB / 0.9946 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.7966, allocations: 5.654 MB / 1 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006137/0.7972, allocations: 462.1 kB / 1.001 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.7975, allocations: 224.7 kB / 1.001 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.7976, allocations: 7.938 kB / 1.001 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.7976, allocations: 34.56 kB / 1.001 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.7976, allocations: 0 / 1.001 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002413/0.8, allocations: 1.509 MB / 1.002 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.8001, allocations: 55.69 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.8006, allocations: 0.4913 MB / 1.003 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.8006, allocations: 33.7 kB / 1.003 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.8008, allocations: 358.8 kB / 1.003 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.8009, allocations: 122.3 kB / 1.003 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.801, allocations: 12 kB / 1.003 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8011, allocations: 374.7 kB / 1.004 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.8014, allocations: 189.2 kB / 1.004 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.8018, allocations: 447.3 kB / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.8022, allocations: 259.7 kB / 1.004 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8022, allocations: 4 kB / 1.004 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001205/0.8034, allocations: 0.806 MB / 1.005 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8035, allocations: 8 kB / 1.005 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.8035, allocations: 12 kB / 1.005 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.804, allocations: 148.2 kB / 1.005 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.8044, allocations: 123.8 kB / 1.006 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.8078, allocations: 4.036 MB / 1.01 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.8081, allocations: 31.97 kB / 1.01 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.8081, allocations: 32 kB / 1.01 GB, free: 7.711 MB / 0.7637 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.0003352/0.8085, allocations: 219.1 kB / 1.01 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.8086, allocations: 63.25 kB / 1.01 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.8097, allocations: 0.5969 MB / 1.01 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.8097, allocations: 4 kB / 1.01 GB, free: 6.805 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8097, allocations: 0 / 1.01 GB, free: 6.805 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8097, allocations: 7.938 kB / 1.01 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.8115, allocations: 1.265 MB / 1.012 GB, free: 5.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8116, allocations: 0 / 1.012 GB, free: 5.441 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.8118, allocations: 55.89 kB / 1.012 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/0.8122, allocations: 140.2 kB / 1.012 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.8122, allocations: 8 kB / 1.012 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/0.8155, allocations: 4.028 MB / 1.016 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.8155, allocations: 4.031 kB / 1.016 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.8165, allocations: 0.7199 MB / 1.016 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.8168, allocations: 172.3 kB / 1.017 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.8168, allocations: 8 kB / 1.017 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.8171, allocations: 23.97 kB / 1.017 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.8172, allocations: 27.92 kB / 1.017 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.8172, allocations: 8 kB / 1.017 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004539/0.8176, allocations: 338.8 kB / 1.017 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8176, allocations: 0 / 1.017 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006717/0.8183, allocations: 144 kB / 1.017 GB, free: 15.29 MB / 0.7794 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.001484/0.8198, allocations: 1.25 MB / 1.018 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.8214, allocations: 1.036 MB / 1.019 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8214, allocations: 0 / 1.019 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009628/0.8224, allocations: 0.7349 MB / 1.02 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.8234, allocations: 190.3 kB / 1.02 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.8293, allocations: 3.473 MB / 1.024 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.8301, allocations: 0.9137 MB / 1.025 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004529/0.8306, allocations: 125.3 kB / 1.025 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.831, allocations: 203.4 kB / 1.025 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of SimCode: time 1.483e-06/0.831, allocations: 0 / 1.025 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.8644, allocations: 12.21 MB / 1.037 GB, free: 11.04 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.8647, allocations: 234 kB / 1.037 GB, free: 10.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.925, allocations: 3.25 kB / 1.037 GB, free: 10.79 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat