Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001649/0.001649, allocations: 183.5 kB / 0.4902 GB, free: 2.234 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.568/1.568, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001033/0.001033, allocations: 104.1 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 12.47 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.5444, allocations: 169.4 MB / 1.395 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.5448, allocations: 103.9 kB / 1.395 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.802/1.347, allocations: 13.16 MB / 1.408 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.935e-06/1.347, allocations: 1.156 kB / 1.408 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.507e-05/1.347, allocations: 2.781 kB / 1.408 GB, free: 169.7 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008573/1.348, allocations: 469.5 kB / 1.408 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/1.348, allocations: 9.531 kB / 1.408 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000861/1.349, allocations: 70.38 kB / 1.408 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/1.349, allocations: 232.5 kB / 1.408 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.349, allocations: 10.2 kB / 1.408 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/1.349, allocations: 15.84 kB / 1.408 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/1.35, allocations: 272.9 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.35, allocations: 2.062 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/1.35, allocations: 6.672 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/1.35, allocations: 19.03 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/1.351, allocations: 209.1 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/1.353, allocations: 1.575 MB / 1.41 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/1.353, allocations: 78.23 kB / 1.41 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/1.353, allocations: 0 / 1.41 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.353, allocations: 36.95 kB / 1.411 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/1.353, allocations: 8.562 kB / 1.411 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0007433/1.354, allocations: 215.8 kB / 1.411 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.354, allocations: 78.84 kB / 1.411 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.354, allocations: 206.1 kB / 1.411 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.354, allocations: 31.27 kB / 1.411 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.354, allocations: 159.4 kB / 1.411 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/1.354, allocations: 31.5 kB / 1.411 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/1.354, allocations: 6.594 kB / 1.411 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/1.355, allocations: 331.9 kB / 1.412 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/1.355, allocations: 74.5 kB / 1.412 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/1.355, allocations: 160.6 kB / 1.412 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/1.355, allocations: 96.89 kB / 1.412 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.355, allocations: 2.062 kB / 1.412 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000667/1.356, allocations: 281.6 kB / 1.412 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/1.356, allocations: 1.143 MB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.356, allocations: 3.031 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.356, allocations: 7.281 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/1.357, allocations: 53.5 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.357, allocations: 5.984 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/1.357, allocations: 23.52 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/1.357, allocations: 10.09 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.357, allocations: 3.375 kB / 1.413 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005203/1.358, allocations: 217.8 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.358, allocations: 3.797 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/1.358, allocations: 5.438 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/1.358, allocations: 51.94 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.358, allocations: 8.906 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/1.358, allocations: 12.69 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/1.358, allocations: 17.55 kB / 1.414 GB, free: 165.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/1.358, allocations: 219.9 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/1.359, allocations: 14.16 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/1.359, allocations: 116.8 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/1.359, allocations: 1.344 kB / 1.414 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.359, allocations: 5.234 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.359, allocations: 0.6094 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/1.36, allocations: 0.6235 MB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.36, allocations: 8.922 kB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/1.36, allocations: 17.58 kB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.36, allocations: 2.438 kB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.36, allocations: 8.922 kB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.36, allocations: 4.938 kB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.36, allocations: 3.25 kB / 1.415 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/1.361, allocations: 417.6 kB / 1.415 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.361, allocations: 104.8 kB / 1.415 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/1.361, allocations: 4.578 kB / 1.415 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/1.361, allocations: 9.141 kB / 1.415 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.361, allocations: 11.08 kB / 1.415 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.361, allocations: 4.062 kB / 1.415 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000261/1.361, allocations: 164 kB / 1.415 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.61e-07/1.361, allocations: 0 / 1.415 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008597/1.362, allocations: 96.5 kB / 1.415 GB, free: 164.2 MB / 0.9011 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/1.362, allocations: 128.2 kB / 1.416 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006895/1.363, allocations: 265.8 kB / 1.416 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.363, allocations: 1.438 kB / 1.416 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.363, allocations: 46.47 kB / 1.416 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/1.364, allocations: 30.12 kB / 1.416 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.365, allocations: 463.5 kB / 1.416 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/1.365, allocations: 0.7401 MB / 1.417 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003678/1.366, allocations: 79.11 kB / 1.417 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/1.366, allocations: 16.67 kB / 1.417 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.914e-06/1.366, allocations: 0 / 1.417 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.006945/1.373, allocations: 1.54 MB / 1.419 GB, free: 163 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches