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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 390.5 MB / 398 MB, free: 10.96 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.001073/0.001073, allocations: 172.9 kB / 491.2 MB, free: 1.617 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.701/1.701, 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.0008665/0.0008665, allocations: 93.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.203e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3178, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.392, allocations: 165.4 MB / 1.374 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.392, allocations: 91.38 kB / 1.374 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06862/1.46, allocations: 32.14 MB / 1.405 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/1.461, allocations: 0 / 1.405 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.798e-05/1.461, allocations: 16 kB / 1.405 GB, free: 20.57 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.001647/1.462, allocations: 0.773 MB / 1.406 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.462, allocations: 12.03 kB / 1.406 GB, free: 19.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/1.464, allocations: 198.9 kB / 1.406 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/1.465, allocations: 498 kB / 1.407 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/1.465, allocations: 12 kB / 1.407 GB, free: 19.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/1.465, allocations: 28 kB / 1.407 GB, free: 19.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006774/1.466, allocations: 419.6 kB / 1.407 GB, free: 18.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/1.467, allocations: 0.8504 MB / 1.408 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/1.467, allocations: 7.938 kB / 1.408 GB, free: 17.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/1.467, allocations: 8 kB / 1.408 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.85e-05/1.467, allocations: 56.62 kB / 1.408 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/1.471, allocations: 5.54 MB / 1.414 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/1.472, allocations: 436.6 kB / 1.414 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/1.472, allocations: 217.5 kB / 1.414 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/1.473, allocations: 7.984 kB / 1.414 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.473, allocations: 34.5 kB / 1.414 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.906e-06/1.473, allocations: 7.938 kB / 1.414 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.00176/1.474, allocations: 0.8065 MB / 1.415 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.474, allocations: 55.41 kB / 1.415 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/1.475, allocations: 348 kB / 1.415 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/1.475, allocations: 25.7 kB / 1.415 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/1.475, allocations: 347.9 kB / 1.416 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.475, allocations: 116 kB / 1.416 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/1.475, allocations: 7.938 kB / 1.416 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.475, allocations: 362.4 kB / 1.416 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/1.476, allocations: 165.5 kB / 1.416 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/1.476, allocations: 385.6 kB / 1.417 GB, free: 9.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/1.476, allocations: 244.8 kB / 1.417 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.477, allocations: 0 / 1.417 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001314/1.478, allocations: 0.6971 MB / 1.418 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.478, allocations: 8 kB / 1.418 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.478, allocations: 8 kB / 1.418 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/1.478, allocations: 136.2 kB / 1.418 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/1.479, allocations: 114.9 kB / 1.418 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/1.482, allocations: 3.875 MB / 1.422 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/1.483, allocations: 19.98 kB / 1.422 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/1.483, allocations: 34.25 kB / 1.422 GB, free: 4.469 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.0001432/1.483, allocations: 124.5 kB / 1.422 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/1.483, allocations: 55.34 kB / 1.422 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/1.484, allocations: 0.5576 MB / 1.422 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.484, allocations: 8 kB / 1.422 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.484, allocations: 0 / 1.422 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.484, allocations: 3.984 kB / 1.422 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.486, allocations: 1.159 MB / 1.424 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.486, allocations: 0 / 1.424 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/1.486, allocations: 55.89 kB / 1.424 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/1.486, allocations: 145.2 kB / 1.424 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/1.487, allocations: 0 / 1.424 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/1.489, allocations: 3.86 MB / 1.428 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.489, allocations: 4.031 kB / 1.428 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000986/1.49, allocations: 0.7546 MB / 1.428 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/1.491, allocations: 159.2 kB / 1.428 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/1.491, allocations: 8 kB / 1.428 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/1.491, allocations: 19.97 kB / 1.428 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/1.491, allocations: 31.59 kB / 1.428 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.491, allocations: 8 kB / 1.428 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002701/1.491, allocations: 264.8 kB / 1.429 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.754e-06/1.491, allocations: 0 / 1.429 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007238/1.492, allocations: 131.9 kB / 1.429 GB, free: 13.32 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.0002031/1.492, allocations: 107.5 kB / 1.429 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001334/1.494, allocations: 0.9566 MB / 1.43 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.494, allocations: 0 / 1.43 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007744/1.495, allocations: 0.7064 MB / 1.431 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/1.495, allocations: 163.6 kB / 1.431 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/1.497, allocations: 0.7164 MB / 1.431 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/1.497, allocations: 0.9205 MB / 1.432 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004206/1.498, allocations: 112.8 kB / 1.432 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/1.498, allocations: 31.44 kB / 1.432 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/1.498, allocations: 4 kB / 1.432 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of Templates: time 0.01337/1.511, allocations: 6.368 MB / 1.439 GB, free: 3.434 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches