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.559/2.559, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001123/0.001123, allocations: 194.3 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.737/1.737, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009285/0.0009286, allocations: 98.27 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 8.156 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.5458, allocations: 166.7 MB / 1.392 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/0.5463, allocations: 95.94 kB / 1.392 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.08319/0.6296, allocations: 32.73 MB / 1.424 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6296, allocations: 4 kB / 1.424 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.64e-05/0.6297, allocations: 19.98 kB / 1.424 GB, free: 1.547 MB / 0.9167 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.002045/0.6318, allocations: 0.8605 MB / 1.425 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.6318, allocations: 8.031 kB / 1.425 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.6321, allocations: 98.5 kB / 1.425 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.6335, allocations: 210.8 kB / 1.425 GB, free: 324 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6188/1.252, allocations: 481.8 kB / 1.426 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/1.252, allocations: 34.78 kB / 1.426 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.253, allocations: 43.75 kB / 1.426 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.254, allocations: 0.9324 MB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/1.254, allocations: 7.594 kB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/1.254, allocations: 22.36 kB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/1.254, allocations: 52.28 kB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/1.255, allocations: 0.569 MB / 1.427 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/1.258, allocations: 5.661 MB / 1.433 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/1.259, allocations: 449.4 kB / 1.433 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/1.259, allocations: 4.719 kB / 1.433 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.259, allocations: 41.83 kB / 1.433 GB, free: 171 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/1.259, allocations: 1.266 kB / 1.433 GB, free: 171 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.002607/1.262, allocations: 1.494 MB / 1.435 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/1.262, allocations: 59.23 kB / 1.435 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/1.262, allocations: 444.3 kB / 1.435 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.262, allocations: 33.27 kB / 1.435 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/1.262, allocations: 350.6 kB / 1.436 GB, free: 170 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/1.263, allocations: 123.5 kB / 1.436 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.263, allocations: 6.75 kB / 1.436 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.263, allocations: 368 kB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/1.263, allocations: 190 kB / 1.436 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/1.264, allocations: 408.3 kB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/1.264, allocations: 256.1 kB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.264, allocations: 2.406 kB / 1.437 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001295/1.265, allocations: 0.7769 MB / 1.438 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.265, allocations: 8.406 kB / 1.438 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.265, allocations: 8.609 kB / 1.438 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/1.266, allocations: 145.6 kB / 1.438 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/1.266, allocations: 116.1 kB / 1.438 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.269, allocations: 4.074 MB / 1.442 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/1.269, allocations: 29.94 kB / 1.442 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/1.269, allocations: 28.48 kB / 1.442 GB, free: 165.4 MB / 0.9167 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 () * Number of clocked 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.0002682/1.269, allocations: 208.4 kB / 1.442 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/1.27, allocations: 64.47 kB / 1.442 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.271, allocations: 0.5987 MB / 1.443 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.271, allocations: 3.844 kB / 1.443 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.271, allocations: 3.156 kB / 1.443 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.271, allocations: 1.5 kB / 1.443 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.273, allocations: 1.26 MB / 1.444 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.273, allocations: 1.562 kB / 1.444 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/1.273, allocations: 53.89 kB / 1.444 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004007/1.273, allocations: 141.5 kB / 1.444 GB, free: 164.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/1.273, allocations: 11.55 kB / 1.444 GB, free: 164.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/1.276, allocations: 4.056 MB / 1.448 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.276, allocations: 2.594 kB / 1.448 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.277, allocations: 0.7907 MB / 1.449 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/1.277, allocations: 176 kB / 1.449 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/1.277, allocations: 8.578 kB / 1.449 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/1.277, allocations: 22.69 kB / 1.449 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/1.277, allocations: 31.39 kB / 1.449 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/1.277, allocations: 11.78 kB / 1.449 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004006/1.278, allocations: 337.6 kB / 1.45 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.278, allocations: 4 kB / 1.45 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006764/1.279, allocations: 147.9 kB / 1.45 GB, free: 160.3 MB / 0.9167 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.001361/1.28, allocations: 1.827 MB / 1.452 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.281, allocations: 1.015 MB / 1.453 GB, free: 158.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.281, allocations: 5.438 kB / 1.453 GB, free: 158.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/1.282, allocations: 0.7303 MB / 1.453 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/1.283, allocations: 185 kB / 1.453 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/1.288, allocations: 8.271 MB / 1.461 GB, free: 151.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/1.289, allocations: 0.9186 MB / 1.462 GB, free: 150.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004076/1.289, allocations: 121.8 kB / 1.462 GB, free: 150.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/1.29, allocations: 190.7 kB / 1.463 GB, free: 150.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/1.29, allocations: 0 / 1.463 GB, free: 150.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/1.32, allocations: 12.22 MB / 1.475 GB, free: 150.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/1.32, allocations: 219.5 kB / 1.475 GB, free: 149.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.688, allocations: 5.375 kB / 1.475 GB, free: 149.9 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