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.455/2.455, allocations: 390.5 MB / 398 MB, free: 10.99 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.001107/0.001107, allocations: 188.9 kB / 491.2 MB, free: 1.602 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.577/1.577, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009815/0.0009812, allocations: 101.5 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.111e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.279, allocations: 165.4 MB / 1.374 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.279, allocations: 96.06 kB / 1.374 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0676/1.347, allocations: 32.15 MB / 1.405 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.347, allocations: 4 kB / 1.405 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.571e-05/1.347, allocations: 16 kB / 1.405 GB, free: 20.25 MB / 0.8386 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.001061/1.348, allocations: 0.767 MB / 1.406 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.348, allocations: 8.031 kB / 1.406 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.349, allocations: 210.2 kB / 1.406 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/1.35, allocations: 493.3 kB / 1.407 GB, free: 18.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/1.35, allocations: 16 kB / 1.407 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/1.35, allocations: 24 kB / 1.407 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005643/1.35, allocations: 415.9 kB / 1.407 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/1.351, allocations: 0.8486 MB / 1.408 GB, free: 17.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.351, allocations: 7.125 kB / 1.408 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/1.351, allocations: 8 kB / 1.408 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/1.351, allocations: 59.8 kB / 1.408 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/1.355, allocations: 5.543 MB / 1.414 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/1.356, allocations: 436.2 kB / 1.414 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/1.356, allocations: 214.1 kB / 1.414 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/1.356, allocations: 11.98 kB / 1.414 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/1.356, allocations: 38.25 kB / 1.414 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 3.196e-06/1.356, allocations: 0 / 1.414 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001426/1.358, allocations: 0.8009 MB / 1.415 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.358, allocations: 55.41 kB / 1.415 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/1.358, allocations: 354.7 kB / 1.415 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/1.358, allocations: 25.7 kB / 1.415 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/1.358, allocations: 347.3 kB / 1.416 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.358, allocations: 117.5 kB / 1.416 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/1.358, allocations: 0 / 1.416 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.359, allocations: 358 kB / 1.416 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/1.359, allocations: 174.3 kB / 1.416 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/1.359, allocations: 389.4 kB / 1.417 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.36, allocations: 244.7 kB / 1.417 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.36, allocations: 4 kB / 1.417 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001006/1.361, allocations: 0.6889 MB / 1.418 GB, free: 8.523 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.361, allocations: 8 kB / 1.418 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.361, allocations: 8 kB / 1.418 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/1.361, allocations: 146.2 kB / 1.418 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/1.361, allocations: 115.5 kB / 1.418 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/1.364, allocations: 3.867 MB / 1.422 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/1.365, allocations: 19.97 kB / 1.422 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/1.365, allocations: 33.45 kB / 1.422 GB, free: 4.16 MB / 0.8386 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.0001397/1.365, allocations: 124.5 kB / 1.422 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008291/1.366, allocations: 0.523 MB / 1.422 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/1.366, allocations: 55.34 kB / 1.422 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/1.367, allocations: 0.5623 MB / 1.423 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/1.367, allocations: 8 kB / 1.423 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.367, allocations: 0 / 1.423 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.367, allocations: 0 / 1.423 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/1.369, allocations: 1.154 MB / 1.424 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.369, allocations: 224 / 1.424 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/1.369, allocations: 63.64 kB / 1.424 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/1.369, allocations: 133.2 kB / 1.424 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/1.369, allocations: 7.938 kB / 1.424 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/1.373, allocations: 3.863 MB / 1.428 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.373, allocations: 4.031 kB / 1.428 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.374, allocations: 0.7463 MB / 1.429 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/1.374, allocations: 166.8 kB / 1.429 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.374, allocations: 0 / 1.429 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.374, allocations: 19.97 kB / 1.429 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/1.374, allocations: 35.55 kB / 1.429 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.374, allocations: 11.69 kB / 1.429 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000328/1.375, allocations: 261.5 kB / 1.429 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.375, allocations: 0 / 1.429 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007163/1.375, allocations: 132 kB / 1.429 GB, free: 12.59 MB / 0.8542 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.001427/1.377, allocations: 1.786 MB / 1.431 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.378, allocations: 0.9554 MB / 1.432 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.378, allocations: 0 / 1.432 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/1.379, allocations: 0.6987 MB / 1.433 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/1.38, allocations: 174.3 kB / 1.433 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/1.381, allocations: 0.8318 MB / 1.434 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/1.382, allocations: 0.9246 MB / 1.435 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003306/1.382, allocations: 104.9 kB / 1.435 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/1.382, allocations: 192.6 kB / 1.435 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/1.383, allocations: 0 / 1.435 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/1.415, allocations: 10.64 MB / 1.445 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/1.415, allocations: 157.2 kB / 1.446 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.624, allocations: 0 / 1.446 GB, free: 12.48 MB / 0.8698 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