Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, 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.001074/0.001074, allocations: 176.9 kB / 487.4 MB, free: 5.027 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.65/1.65, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.000882/0.0008822, allocations: 103.7 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.414e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2857, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.18, allocations: 177 MB / 1.379 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.181, allocations: 89.78 kB / 1.379 GB, free: 18.29 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04804/1.229, allocations: 25.62 MB / 1.404 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/1.229, allocations: 0 / 1.404 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.801e-05/1.229, allocations: 11.72 kB / 1.404 GB, free: 24.09 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008979/1.23, allocations: 0.6066 MB / 1.405 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.23, allocations: 11.03 kB / 1.405 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/1.23, allocations: 115.6 kB / 1.405 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/1.231, allocations: 329.4 kB / 1.405 GB, free: 23.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/1.231, allocations: 45.69 kB / 1.405 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/1.231, allocations: 18.84 kB / 1.405 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004305/1.231, allocations: 315.3 kB / 1.405 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/1.232, allocations: 436.6 kB / 1.406 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.232, allocations: 0 / 1.406 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/1.232, allocations: 0 / 1.406 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/1.232, allocations: 28.52 kB / 1.406 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/1.234, allocations: 2.14 MB / 1.408 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/1.235, allocations: 237.4 kB / 1.408 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/1.235, allocations: 142.9 kB / 1.408 GB, free: 20.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/1.235, allocations: 0 / 1.408 GB, free: 20.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/1.235, allocations: 42.48 kB / 1.408 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/1.235, allocations: 3.938 kB / 1.408 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0005387/1.235, allocations: 241.7 kB / 1.408 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/1.235, allocations: 51.41 kB / 1.409 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/1.236, allocations: 179.9 kB / 1.409 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/1.236, allocations: 29.64 kB / 1.409 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/1.236, allocations: 211.1 kB / 1.409 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/1.236, allocations: 65.84 kB / 1.409 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/1.236, allocations: 0 / 1.409 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.236, allocations: 333.7 kB / 1.409 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/1.236, allocations: 72.72 kB / 1.409 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/1.236, allocations: 151.7 kB / 1.41 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/1.236, allocations: 93.81 kB / 1.41 GB, free: 19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.236, allocations: 0 / 1.41 GB, free: 19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005108/1.237, allocations: 309.4 kB / 1.41 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003842/1.237, allocations: 0.9701 MB / 1.411 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.237, allocations: 11.88 kB / 1.411 GB, free: 17.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/1.238, allocations: 97.95 kB / 1.411 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/1.238, allocations: 51.91 kB / 1.411 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/1.24, allocations: 1.963 MB / 1.413 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/1.24, allocations: 31.67 kB / 1.413 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.24, allocations: 12 kB / 1.413 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.24, allocations: 6.5 kB / 1.413 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004507/1.24, allocations: 241.4 kB / 1.413 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.24, allocations: 7.953 kB / 1.413 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/1.241, allocations: 76.58 kB / 1.413 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/1.241, allocations: 58.84 kB / 1.413 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/1.242, allocations: 1.421 MB / 1.415 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.243, allocations: 27.89 kB / 1.415 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/1.243, allocations: 11.38 kB / 1.415 GB, free: 13.72 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.243, allocations: 115.4 kB / 1.415 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/1.243, allocations: 19.72 kB / 1.415 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/1.243, allocations: 31.91 kB / 1.415 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.243, allocations: 4 kB / 1.415 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.243, allocations: 0 / 1.415 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.243, allocations: 4 kB / 1.415 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/1.244, allocations: 0.7179 MB / 1.416 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.244, allocations: 0 / 1.416 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/1.244, allocations: 33.86 kB / 1.416 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/1.244, allocations: 102.5 kB / 1.416 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.244, allocations: 4 kB / 1.416 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/1.246, allocations: 2.676 MB / 1.418 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.246, allocations: 0 / 1.418 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/1.247, allocations: 391.9 kB / 1.419 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/1.247, allocations: 112 kB / 1.419 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/1.247, allocations: 3.984 kB / 1.419 GB, free: 9.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.247, allocations: 12 kB / 1.419 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/1.247, allocations: 19.41 kB / 1.419 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.247, allocations: 11.75 kB / 1.419 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001074/1.248, allocations: 137.8 kB / 1.419 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.248, allocations: 3.938 kB / 1.419 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006263/1.248, allocations: 163.2 kB / 1.419 GB, free: 9.172 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/1.248, allocations: 104.7 kB / 1.419 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.25, allocations: 0.569 MB / 1.42 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.25, allocations: 0 / 1.42 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/1.25, allocations: 338.2 kB / 1.42 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/1.251, allocations: 42.84 kB / 1.42 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/1.252, allocations: 386.8 kB / 1.421 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.252, allocations: 0.8195 MB / 1.421 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002308/1.252, allocations: 62.02 kB / 1.421 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/1.252, allocations: 19.38 kB / 1.421 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/1.252, allocations: 0 / 1.421 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.007908/1.26, allocations: 3.954 MB / 1.425 GB, free: 3.02 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.csv","../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches