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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.493/2.493, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 99.88 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.082e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.325, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.428, allocations: 166.6 MB / 1.382 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.429, allocations: 95 kB / 1.382 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.07637/1.505, allocations: 32.55 MB / 1.413 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/1.505, allocations: 0 / 1.413 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.965e-05/1.505, allocations: 23.94 kB / 1.413 GB, free: 9.09 MB / 0.8698 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.00128/1.507, allocations: 0.7822 MB / 1.414 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.507, allocations: 12.03 kB / 1.414 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/1.507, allocations: 84.7 kB / 1.414 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/1.508, allocations: 218.4 kB / 1.415 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/1.509, allocations: 479.4 kB / 1.415 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/1.509, allocations: 38.92 kB / 1.415 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/1.509, allocations: 45.95 kB / 1.415 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.51, allocations: 0.9202 MB / 1.416 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.51, allocations: 7.938 kB / 1.416 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/1.51, allocations: 25.31 kB / 1.416 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.9e-05/1.51, allocations: 56.05 kB / 1.416 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/1.511, allocations: 0.5522 MB / 1.417 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/1.516, allocations: 5.65 MB / 1.422 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/1.516, allocations: 464.1 kB / 1.423 GB, free: 152 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/1.516, allocations: 225.5 kB / 1.423 GB, free: 4 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/1.517, allocations: 4.188 kB / 1.423 GB, free: 16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.517, allocations: 38.39 kB / 1.423 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/1.517, allocations: 0 / 1.423 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001542/1.518, allocations: 0.8547 MB / 1.424 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.518, allocations: 55.41 kB / 1.424 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/1.519, allocations: 435.5 kB / 1.424 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/1.519, allocations: 28.45 kB / 1.424 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/1.519, allocations: 352.6 kB / 1.424 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/1.519, allocations: 115.9 kB / 1.425 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/1.519, allocations: 14.5 kB / 1.425 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.519, allocations: 371 kB / 1.425 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/1.519, allocations: 182.8 kB / 1.425 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/1.52, allocations: 398.3 kB / 1.426 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/1.52, allocations: 254.4 kB / 1.426 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.52, allocations: 0 / 1.426 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001175/1.521, allocations: 0.7744 MB / 1.427 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.521, allocations: 9.406 kB / 1.427 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.521, allocations: 4 kB / 1.427 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/1.522, allocations: 154.1 kB / 1.427 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/1.522, allocations: 119.2 kB / 1.427 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/1.525, allocations: 4.028 MB / 1.431 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/1.526, allocations: 31.53 kB / 1.431 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/1.526, allocations: 23.19 kB / 1.431 GB, free: 8.195 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0001395/1.526, allocations: 141 kB / 1.431 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/1.526, allocations: 63.25 kB / 1.431 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.527, allocations: 0.5929 MB / 1.432 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.527, allocations: 4 kB / 1.432 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.527, allocations: 7.953 kB / 1.432 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.527, allocations: 0 / 1.432 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/1.529, allocations: 1.257 MB / 1.433 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.529, allocations: 0 / 1.433 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/1.529, allocations: 59.84 kB / 1.433 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/1.53, allocations: 144.3 kB / 1.433 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/1.53, allocations: 8 kB / 1.433 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/1.533, allocations: 4.017 MB / 1.437 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.533, allocations: 0 / 1.437 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.534, allocations: 0.7898 MB / 1.438 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.534, allocations: 164.3 kB / 1.438 GB, free: 328 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/1.534, allocations: 12 kB / 1.438 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/1.534, allocations: 23.97 kB / 1.438 GB, free: 292 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/1.535, allocations: 35.89 kB / 1.438 GB, free: 256 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.535, allocations: 15.95 kB / 1.438 GB, free: 240 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000391/1.535, allocations: 333.6 kB / 1.438 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/1.535, allocations: 0 / 1.438 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006451/1.536, allocations: 144 kB / 1.438 GB, free: 15.77 MB / 0.9011 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 () * 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.001514/1.537, allocations: 1.812 MB / 1.44 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.539, allocations: 1.021 MB / 1.441 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.539, allocations: 3.938 kB / 1.441 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007853/1.539, allocations: 0.7228 MB / 1.442 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/1.54, allocations: 186.8 kB / 1.442 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/1.542, allocations: 0.8814 MB / 1.443 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.542, allocations: 0.9258 MB / 1.444 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003332/1.543, allocations: 113.2 kB / 1.444 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/1.543, allocations: 199.4 kB / 1.444 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of SimCode: time 1.002e-06/1.543, allocations: 0 / 1.444 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/1.572, allocations: 12.12 MB / 1.456 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.572, allocations: 202.1 kB / 1.456 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/4.014, allocations: 0 / 1.456 GB, free: 13.53 MB / 0.9167 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) 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