Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.000968/0.0009677, allocations: 86.56 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.001127/0.001127, 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.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.352 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.562/2.562, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 11.98 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7291, allocations: 142.3 MB / 0.9539 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01349/0.7426, allocations: 14.52 MB / 0.968 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009048/0.7517, allocations: 4.584 MB / 0.9725 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.7533, allocations: 54.62 kB / 0.9726 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008304/0.7541, allocations: 247.3 kB / 0.9728 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.756, allocations: 0.5829 MB / 0.9734 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.7577, allocations: 0.4915 MB / 0.9739 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00461/0.7623, allocations: 4.112 MB / 0.9779 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008491/0.7708, allocations: 4.937 MB / 0.9827 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.7735, allocations: 1.109 MB / 0.9838 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.7758, allocations: 1.476 MB / 0.9852 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.7761, allocations: 144 kB / 0.9854 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.7772, allocations: 395.6 kB / 0.9857 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.7783, allocations: 1.076 MB / 0.9868 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.7788, allocations: 492.5 kB / 0.9872 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.7826, allocations: 4.265 MB / 0.9914 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7826, allocations: 0 / 0.9914 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7826, allocations: 0 / 0.9914 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.486e-05/0.7827, allocations: 0 / 0.9914 GB, free: 9.539 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004158/0.7869, allocations: 2.202 MB / 0.9936 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7869, allocations: 8.031 kB / 0.9936 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005648/0.7875, allocations: 374.3 kB / 0.9939 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.7912, allocations: 0.8359 MB / 0.9947 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.7935, allocations: 1.473 MB / 0.9962 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.7937, allocations: 180.8 kB / 0.9964 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.794, allocations: 235.9 kB / 0.9966 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/0.8007, allocations: 4.142 MB / 1.001 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/0.8007, allocations: 11.89 kB / 1.001 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.801, allocations: 95.98 kB / 1.001 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.8012, allocations: 172.5 kB / 1.001 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005644/0.8068, allocations: 3.623 MB / 1.004 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.824, allocations: 16.54 MB / 1.021 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.8271, allocations: 2.292 MB / 1.023 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/0.8279, allocations: 0.5858 MB / 1.023 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.8281, allocations: 93.61 kB / 1.023 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.8281, allocations: 47.11 kB / 1.024 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.8281, allocations: 3.938 kB / 1.024 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005228/0.8334, allocations: 3.448 MB / 1.027 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.8335, allocations: 115.5 kB / 1.027 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8347, allocations: 1.006 MB / 1.028 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.8348, allocations: 41.7 kB / 1.028 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/0.8355, allocations: 1.103 MB / 1.029 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.8357, allocations: 276.1 kB / 1.029 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.8357, allocations: 28 kB / 1.029 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.8359, allocations: 410.7 kB / 1.03 GB, free: 84 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009063/0.8369, allocations: 0.6207 MB / 1.03 GB, free: 15.46 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.8381, allocations: 1.189 MB / 1.032 GB, free: 14 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8393, allocations: 0.854 MB / 1.032 GB, free: 13.15 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.8393, allocations: 8 kB / 1.032 GB, free: 13.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003139/0.8424, allocations: 2.022 MB / 1.034 GB, free: 11.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.8425, allocations: 12.62 kB / 1.034 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.8425, allocations: 20 kB / 1.034 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.843, allocations: 163.3 kB / 1.035 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.844, allocations: 343.4 kB / 1.035 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.926e-05/0.8441, allocations: 43.84 kB / 1.035 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/0.8451, allocations: 135.7 kB / 1.035 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.8452, allocations: 71.98 kB / 1.035 GB, free: 10.31 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001568/0.8467, allocations: 0.9849 MB / 1.036 GB, free: 9.316 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.847, allocations: 102.8 kB / 1.036 GB, free: 9.215 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.8491, allocations: 1.241 MB / 1.037 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.8491, allocations: 8 kB / 1.037 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8491, allocations: 0 / 1.037 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.8491, allocations: 11.98 kB / 1.037 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.8546, allocations: 3.804 MB / 1.041 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.8546, allocations: 4 kB / 1.041 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.8552, allocations: 163.8 kB / 1.041 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003245/0.8555, allocations: 143.6 kB / 1.041 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.8556, allocations: 12 kB / 1.041 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.8556, allocations: 4 kB / 1.041 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.8556, allocations: 11.89 kB / 1.041 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.8576, allocations: 1.468 MB / 1.043 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.858, allocations: 295.6 kB / 1.043 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.8581, allocations: 16 kB / 1.043 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.8587, allocations: 83.83 kB / 1.043 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.8588, allocations: 60.44 kB / 1.043 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.8588, allocations: 20 kB / 1.043 GB, free: 1.637 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008535/0.8597, allocations: 0.6874 MB / 1.044 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8597, allocations: 0 / 1.044 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001325/0.861, allocations: 392.1 kB / 1.044 GB, free: 0.5547 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/0.8631, allocations: 2.048 MB / 1.046 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.8654, allocations: 1.705 MB / 1.048 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8654, allocations: 1.938 kB / 1.048 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.8663, allocations: 0.8664 MB / 1.049 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.8676, allocations: 248.6 kB / 1.049 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.8834, allocations: 9.74 MB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.8854, allocations: 1.916 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001219/0.8867, allocations: 453.4 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009535/0.8876, allocations: 0.7102 MB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of SimCode: time 1.222e-06/0.8876, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.94, allocations: 26.98 MB / 1.088 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.9402, allocations: 222.8 kB / 1.088 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/3.173, allocations: 7.875 kB / 1.088 GB, free: 3.223 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat