Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.482/2.482, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001095/0.001095, allocations: 172.9 kB / 496.1 MB, free: 12.87 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.884/1.884, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001102/0.001102, allocations: 91.95 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.094e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2977, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.354, allocations: 166.1 MB / 1.381 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.354, allocations: 99.05 kB / 1.381 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.08157/1.436, allocations: 32.26 MB / 1.413 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.436, allocations: 0 / 1.413 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.059e-05/1.436, allocations: 16 kB / 1.413 GB, free: 9.793 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.001852/1.438, allocations: 0.7782 MB / 1.413 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.438, allocations: 12.03 kB / 1.413 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/1.438, allocations: 92.38 kB / 1.414 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/1.44, allocations: 210 kB / 1.414 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.441, allocations: 476.8 kB / 1.414 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/1.441, allocations: 30.55 kB / 1.414 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.441, allocations: 54.34 kB / 1.414 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.443, allocations: 0.9143 MB / 1.415 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/1.443, allocations: 7.922 kB / 1.415 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/1.443, allocations: 25.62 kB / 1.415 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.305e-05/1.443, allocations: 51.12 kB / 1.415 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/1.444, allocations: 0.5545 MB / 1.416 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005318/1.449, allocations: 5.656 MB / 1.421 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/1.45, allocations: 461.3 kB / 1.422 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/1.45, allocations: 222.1 kB / 1.422 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/1.45, allocations: 7.953 kB / 1.422 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.45, allocations: 34.44 kB / 1.422 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 3.807e-06/1.45, allocations: 0 / 1.422 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001781/1.452, allocations: 0.845 MB / 1.423 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.452, allocations: 55.41 kB / 1.423 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/1.453, allocations: 433.5 kB / 1.423 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.453, allocations: 33.14 kB / 1.423 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.453, allocations: 332 kB / 1.424 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.453, allocations: 121.4 kB / 1.424 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.453, allocations: 12.5 kB / 1.424 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.453, allocations: 370.6 kB / 1.424 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/1.453, allocations: 183.5 kB / 1.424 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/1.454, allocations: 406.5 kB / 1.425 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/1.454, allocations: 247 kB / 1.425 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.454, allocations: 0 / 1.425 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001309/1.456, allocations: 0.7688 MB / 1.426 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.456, allocations: 11.94 kB / 1.426 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.456, allocations: 8 kB / 1.426 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/1.456, allocations: 154.7 kB / 1.426 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/1.457, allocations: 107.6 kB / 1.426 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/1.46, allocations: 4.039 MB / 1.43 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/1.461, allocations: 30.66 kB / 1.43 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/1.461, allocations: 27.25 kB / 1.43 GB, free: 8.922 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.0001647/1.461, allocations: 143.5 kB / 1.43 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/1.461, allocations: 63.25 kB / 1.43 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.462, allocations: 0.5842 MB / 1.431 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.463, allocations: 7.953 kB / 1.431 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/1.463, allocations: 4 kB / 1.431 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.463, allocations: 3.984 kB / 1.431 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/1.465, allocations: 1.25 MB / 1.432 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.465, allocations: 7.953 kB / 1.432 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/1.465, allocations: 51.89 kB / 1.432 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/1.465, allocations: 152.3 kB / 1.432 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/1.465, allocations: 4 kB / 1.432 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/1.469, allocations: 4.021 MB / 1.436 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.469, allocations: 4 kB / 1.436 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.47, allocations: 0.7819 MB / 1.437 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/1.471, allocations: 164.3 kB / 1.437 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.471, allocations: 15.98 kB / 1.437 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/1.471, allocations: 23.97 kB / 1.437 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/1.471, allocations: 35.86 kB / 1.437 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/1.471, allocations: 12 kB / 1.437 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004602/1.472, allocations: 325.6 kB / 1.437 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/1.472, allocations: 0 / 1.437 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008135/1.473, allocations: 148 kB / 1.438 GB, free: 0.6367 MB / 0.8855 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.001802/1.474, allocations: 1.812 MB / 1.439 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.476, allocations: 1.013 MB / 1.44 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.476, allocations: 0 / 1.44 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008486/1.477, allocations: 0.7266 MB / 1.441 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/1.478, allocations: 186.7 kB / 1.441 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.48, allocations: 0.8691 MB / 1.442 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/1.48, allocations: 0.918 MB / 1.443 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004055/1.481, allocations: 113.2 kB / 1.443 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/1.481, allocations: 203.4 kB / 1.443 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of SimCode: time 1.332e-06/1.481, allocations: 4 kB / 1.443 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/1.515, allocations: 11.98 MB / 1.455 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.515, allocations: 186.1 kB / 1.455 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.821, allocations: 1.828 kB / 1.455 GB, free: 14.54 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat does not exist to compare? outputFormat=mat