Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001407/0.001407, allocations: 180.9 kB / 487.4 MB, free: 5.043 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.593/1.593, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008723, allocations: 95.89 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.056e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2929, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9252/1.218, allocations: 167.9 MB / 1.37 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.219, allocations: 96.03 kB / 1.37 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02867/1.247, allocations: 13.02 MB / 1.383 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.247, allocations: 0 / 1.383 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.408e-05/1.247, allocations: 11.78 kB / 1.383 GB, free: 31.39 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006731/1.248, allocations: 455.2 kB / 1.383 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.248, allocations: 11.38 kB / 1.383 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/1.249, allocations: 62.45 kB / 1.383 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/1.249, allocations: 238.5 kB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.249, allocations: 3.844 kB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/1.249, allocations: 7.875 kB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000264/1.249, allocations: 152.2 kB / 1.384 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/1.25, allocations: 258 kB / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.25, allocations: 0 / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.25, allocations: 3.844 kB / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/1.25, allocations: 15.59 kB / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/1.251, allocations: 1.538 MB / 1.385 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/1.251, allocations: 71.12 kB / 1.385 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/1.251, allocations: 48 kB / 1.385 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.251, allocations: 3.781 kB / 1.386 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/1.251, allocations: 30.56 kB / 1.386 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.251, allocations: 3.938 kB / 1.386 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004139/1.252, allocations: 179.9 kB / 1.386 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/1.252, allocations: 80.95 kB / 1.386 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/1.252, allocations: 191.8 kB / 1.386 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.252, allocations: 25.7 kB / 1.386 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/1.252, allocations: 160.6 kB / 1.386 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/1.252, allocations: 41.8 kB / 1.386 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/1.252, allocations: 0 / 1.386 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/1.252, allocations: 326.1 kB / 1.386 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/1.252, allocations: 67.97 kB / 1.387 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/1.252, allocations: 157.4 kB / 1.387 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/1.253, allocations: 100.5 kB / 1.387 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.253, allocations: 0 / 1.387 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003795/1.253, allocations: 261.2 kB / 1.387 GB, free: 28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003831/1.253, allocations: 1.138 MB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.253, allocations: 3.844 kB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.254, allocations: 7.812 kB / 1.388 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.254, allocations: 49.91 kB / 1.388 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.254, allocations: 11.8 kB / 1.388 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/1.254, allocations: 19.58 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/1.254, allocations: 11.61 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/1.254, allocations: 3.906 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002951/1.254, allocations: 194.5 kB / 1.388 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.254, allocations: 3.844 kB / 1.388 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/1.254, allocations: 7.828 kB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.255, allocations: 49.05 kB / 1.389 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.255, allocations: 7.859 kB / 1.389 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/1.255, allocations: 11.98 kB / 1.389 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/1.255, allocations: 15.66 kB / 1.389 GB, free: 26.7 MB / 0.8386 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 () * 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 9.165e-05/1.255, allocations: 119.5 kB / 1.389 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/1.255, allocations: 11.62 kB / 1.389 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/1.255, allocations: 113.8 kB / 1.389 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.255, allocations: 0 / 1.389 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.255, allocations: 0 / 1.389 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.255, allocations: 3.875 kB / 1.389 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/1.256, allocations: 0.5731 MB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.256, allocations: 3.875 kB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/1.256, allocations: 15.58 kB / 1.389 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.256, allocations: 3.844 kB / 1.389 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.256, allocations: 4.125 kB / 1.389 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.256, allocations: 11.89 kB / 1.389 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.256, allocations: 3.844 kB / 1.389 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/1.256, allocations: 401.5 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/1.256, allocations: 111.7 kB / 1.39 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/1.256, allocations: 7.828 kB / 1.39 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/1.256, allocations: 7.797 kB / 1.39 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/1.256, allocations: 11.28 kB / 1.39 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/1.256, allocations: 3.812 kB / 1.39 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001152/1.256, allocations: 158.1 kB / 1.39 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.256, allocations: 0 / 1.39 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005084/1.257, allocations: 80.5 kB / 1.39 GB, free: 25.42 MB / 0.8386 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 (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.0001678/1.257, allocations: 122.3 kB / 1.39 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003368/1.258, allocations: 245.6 kB / 1.39 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.258, allocations: 0 / 1.39 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/1.258, allocations: 43.75 kB / 1.391 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/1.258, allocations: 31.47 kB / 1.391 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/1.258, allocations: 259.3 kB / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/1.259, allocations: 0.7455 MB / 1.392 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002034/1.259, allocations: 72.75 kB / 1.392 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/1.259, allocations: 15.12 kB / 1.392 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.259, allocations: 0 / 1.392 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.003839/1.263, allocations: 1.581 MB / 1.393 GB, free: 23.54 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches