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.506/2.506, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001278/0.001279, allocations: 198.2 kB / 0.4901 GB, free: 2.098 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.482/1.482, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009846/0.000984, allocations: 98.02 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 10.31 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2922, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.5007, allocations: 166.1 MB / 1.392 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5011, allocations: 99.92 kB / 1.392 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07452/0.5756, allocations: 32.45 MB / 1.423 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5757, allocations: 4 kB / 1.423 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.945e-05/0.5757, allocations: 20 kB / 1.423 GB, free: 2.375 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.001474/0.5772, allocations: 0.8527 MB / 1.424 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5773, allocations: 8.562 kB / 1.424 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.5774, allocations: 94.5 kB / 1.424 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.5787, allocations: 206.9 kB / 1.424 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.5795, allocations: 476.4 kB / 1.425 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.5795, allocations: 33 kB / 1.425 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.5796, allocations: 43.98 kB / 1.425 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7526/1.332, allocations: 0.9221 MB / 1.426 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.804e-05/1.332, allocations: 7.938 kB / 1.426 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/1.333, allocations: 28.28 kB / 1.426 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/1.333, allocations: 53.27 kB / 1.426 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/1.334, allocations: 0.564 MB / 1.426 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/1.34, allocations: 5.669 MB / 1.432 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/1.341, allocations: 457 kB / 1.432 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/1.341, allocations: 6.797 kB / 1.432 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.341, allocations: 33.83 kB / 1.433 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=32): time 3.106e-06/1.341, allocations: 4 kB / 1.433 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.003895/1.345, allocations: 1.495 MB / 1.434 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/1.345, allocations: 55.59 kB / 1.434 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008326/1.346, allocations: 435.3 kB / 1.434 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/1.346, allocations: 33.86 kB / 1.434 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/1.346, allocations: 340.8 kB / 1.435 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/1.347, allocations: 117.7 kB / 1.435 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/1.347, allocations: 10.56 kB / 1.435 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.347, allocations: 366.1 kB / 1.435 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/1.347, allocations: 191 kB / 1.435 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/1.348, allocations: 412.4 kB / 1.436 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/1.349, allocations: 256.1 kB / 1.436 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.349, allocations: 3.031 kB / 1.436 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002177/1.351, allocations: 0.7713 MB / 1.437 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/1.351, allocations: 13.92 kB / 1.437 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.351, allocations: 8.375 kB / 1.437 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/1.352, allocations: 147.5 kB / 1.437 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/1.352, allocations: 113.7 kB / 1.437 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/1.356, allocations: 4.061 MB / 1.441 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/1.357, allocations: 30.88 kB / 1.441 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.357, allocations: 29.67 kB / 1.441 GB, free: 165.6 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.0005181/1.358, allocations: 209.3 kB / 1.441 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/1.358, allocations: 65.05 kB / 1.441 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/1.36, allocations: 0.6021 MB / 1.442 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.36, allocations: 3.5 kB / 1.442 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.36, allocations: 1.469 kB / 1.442 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.36, allocations: 1.922 kB / 1.442 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.363, allocations: 1.265 MB / 1.443 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.363, allocations: 4.688 kB / 1.443 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/1.364, allocations: 54.08 kB / 1.443 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/1.364, allocations: 142.4 kB / 1.443 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/1.364, allocations: 11.58 kB / 1.443 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/1.368, allocations: 4.042 MB / 1.447 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.368, allocations: 8.766 kB / 1.447 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/1.37, allocations: 0.7924 MB / 1.448 GB, free: 160.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/1.37, allocations: 168.1 kB / 1.448 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.37, allocations: 8.641 kB / 1.448 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/1.371, allocations: 22.64 kB / 1.448 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.371, allocations: 37.72 kB / 1.448 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/1.371, allocations: 9.703 kB / 1.448 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006984/1.372, allocations: 329.5 kB / 1.449 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.01e-07/1.372, allocations: 5 kB / 1.449 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001261/1.373, allocations: 145.5 kB / 1.449 GB, free: 160.5 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.002137/1.375, allocations: 1.828 MB / 1.451 GB, free: 159.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.378, allocations: 1.008 MB / 1.452 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.378, allocations: 128 / 1.452 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.379, allocations: 0.7438 MB / 1.452 GB, free: 158 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.38, allocations: 181.5 kB / 1.453 GB, free: 158 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008727/1.389, allocations: 8.201 MB / 1.461 GB, free: 151.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/1.39, allocations: 0.9181 MB / 1.461 GB, free: 151 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006128/1.391, allocations: 112.7 kB / 1.462 GB, free: 151 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/1.391, allocations: 201 kB / 1.462 GB, free: 151 MB / 0.9167 GB Notification: Performance of SimCode: time 1.673e-06/1.391, allocations: 0 / 1.462 GB, free: 151 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/1.429, allocations: 12.09 MB / 1.474 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/1.43, allocations: 211.5 kB / 1.474 GB, free: 150.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.794, allocations: 0 / 1.474 GB, free: 150.1 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