Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 182.4 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009131/0.0009132, allocations: 91.66 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 9.531 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2328, allocations: 106.4 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8387/1.072, allocations: 175.6 MB / 1.072 GB, free: 64.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.072, allocations: 102 kB / 1.072 GB, free: 64.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06992/1.142, allocations: 28.83 MB / 1.1 GB, free: 60.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/1.142, allocations: 0 / 1.1 GB, free: 60.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.423e-05/1.142, allocations: 7.875 kB / 1.1 GB, free: 60.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001757/1.144, allocations: 0.7519 MB / 1.101 GB, free: 59.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.144, allocations: 7.812 kB / 1.101 GB, free: 59.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/1.146, allocations: 0.5715 MB / 1.101 GB, free: 59.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/1.147, allocations: 476.3 kB / 1.102 GB, free: 59.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.147, allocations: 23.09 kB / 1.102 GB, free: 59.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.148, allocations: 26.41 kB / 1.102 GB, free: 59.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.149, allocations: 0.7604 MB / 1.102 GB, free: 59.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.149, allocations: 0 / 1.102 GB, free: 59.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/1.149, allocations: 15.31 kB / 1.102 GB, free: 59.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/1.149, allocations: 23.98 kB / 1.102 GB, free: 59.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/1.151, allocations: 0.8567 MB / 1.103 GB, free: 59.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/1.155, allocations: 2.858 MB / 1.106 GB, free: 57.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/1.156, allocations: 0.524 MB / 1.107 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/1.156, allocations: 88.14 kB / 1.107 GB, free: 57.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/1.156, allocations: 38.16 kB / 1.107 GB, free: 57.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/1.156, allocations: 0 / 1.107 GB, free: 57.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.009671/1.166, allocations: 2.941 MB / 1.11 GB, free: 57.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/1.166, allocations: 79.7 kB / 1.11 GB, free: 57.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/1.167, allocations: 375.5 kB / 1.11 GB, free: 57.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/1.167, allocations: 35.11 kB / 1.11 GB, free: 57.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/1.167, allocations: 244.1 kB / 1.11 GB, free: 57.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.128e-05/1.167, allocations: 75.41 kB / 1.11 GB, free: 57.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/1.167, allocations: 5.281 kB / 1.11 GB, free: 57.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/1.167, allocations: 346.3 kB / 1.111 GB, free: 56.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/1.168, allocations: 360.4 kB / 1.111 GB, free: 56.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/1.169, allocations: 454.8 kB / 1.111 GB, free: 56.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/1.17, allocations: 394.6 kB / 1.112 GB, free: 56.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.17, allocations: 0 / 1.112 GB, free: 56.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004067/1.174, allocations: 1.407 MB / 1.113 GB, free: 56.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/1.174, allocations: 0.7834 MB / 1.114 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.174, allocations: 3.906 kB / 1.114 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/1.177, allocations: 0.7073 MB / 1.115 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/1.178, allocations: 130.1 kB / 1.115 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/1.181, allocations: 3.261 MB / 1.118 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/1.182, allocations: 109 kB / 1.118 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/1.182, allocations: 17.41 kB / 1.118 GB, free: 53.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.182, allocations: 3.906 kB / 1.118 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003184/1.185, allocations: 1.151 MB / 1.119 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.186, allocations: 1.359 kB / 1.119 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/1.187, allocations: 468.3 kB / 1.12 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.188, allocations: 141.7 kB / 1.12 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/1.191, allocations: 2.526 MB / 1.122 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/1.192, allocations: 106.3 kB / 1.122 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/1.192, allocations: 19.86 kB / 1.122 GB, free: 52.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006094/1.192, allocations: 317.5 kB / 1.123 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.193, allocations: 39.11 kB / 1.123 GB, free: 51.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/1.197, allocations: 1.315 MB / 1.124 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/1.197, allocations: 0 / 1.124 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.197, allocations: 7.906 kB / 1.124 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.197, allocations: 3.984 kB / 1.124 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/1.202, allocations: 1.995 MB / 1.126 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.202, allocations: 0 / 1.126 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/1.203, allocations: 90.14 kB / 1.126 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/1.205, allocations: 0.6862 MB / 1.127 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/1.205, allocations: 7.656 kB / 1.127 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/1.21, allocations: 4.57 MB / 1.131 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.21, allocations: 3.953 kB / 1.131 GB, free: 46.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/1.214, allocations: 1.367 MB / 1.133 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/1.214, allocations: 169 kB / 1.133 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/1.214, allocations: 3.625 kB / 1.133 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/1.215, allocations: 94.39 kB / 1.133 GB, free: 46.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.215, allocations: 31.45 kB / 1.133 GB, free: 46.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/1.215, allocations: 7.188 kB / 1.133 GB, free: 46.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003511/1.215, allocations: 312.1 kB / 1.133 GB, free: 46.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/1.215, allocations: 0 / 1.133 GB, free: 46.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008929/1.216, allocations: 217.8 kB / 1.133 GB, free: 46.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002905/1.217, allocations: 166.1 kB / 1.134 GB, free: 45.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003093/1.22, allocations: 1.501 MB / 1.135 GB, free: 45.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.22, allocations: 3.906 kB / 1.135 GB, free: 45.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.221, allocations: 0.6684 MB / 1.136 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/1.221, allocations: 127.8 kB / 1.136 GB, free: 44.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/1.223, allocations: 1.203 MB / 1.137 GB, free: 44.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/1.223, allocations: 0.9211 MB / 1.138 GB, free: 43.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005699/1.224, allocations: 149 kB / 1.138 GB, free: 43.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/1.224, allocations: 34.94 kB / 1.138 GB, free: 43.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.224, allocations: 0 / 1.138 GB, free: 43.46 MB / 0.698 GB Notification: Performance of Templates: time 0.0159/1.24, allocations: 11.79 MB / 1.15 GB, free: 37.61 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches