Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.001949, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.9 MB / 0.666 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 19.92 kB / 0.8154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9796/0.98, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006693/0.9867, allocations: 5.397 MB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00534/0.9921, allocations: 2.952 MB / 0.9626 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.9932, allocations: 25.06 kB / 0.9626 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.9939, allocations: 119.2 kB / 0.9627 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.9955, allocations: 383.1 kB / 0.9631 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.9968, allocations: 360 kB / 0.9634 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.9986, allocations: 1.211 MB / 0.9646 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/1.001, allocations: 0.8997 MB / 0.9655 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/1.003, allocations: 366.4 kB / 0.9659 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1.004, allocations: 429.4 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/1.004, allocations: 30.31 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/1.005, allocations: 256.3 kB / 0.9665 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005178/1.006, allocations: 247.4 kB / 0.9668 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006033/1.007, allocations: 162.1 kB / 0.9669 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002/1.009, allocations: 0.8843 MB / 0.9678 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.009, allocations: 3.938 kB / 0.9678 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.75e-06/1.009, allocations: 1.031 kB / 0.9678 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.868e-05/1.009, allocations: 0 / 0.9678 GB, free: 13.91 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003003/1.012, allocations: 0.9111 MB / 0.9687 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.012, allocations: 9.281 kB / 0.9687 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/1.014, allocations: 233.6 kB / 0.9689 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/1.015, allocations: 0.5069 MB / 0.9694 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/1.015, allocations: 54.89 kB / 0.9695 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/1.016, allocations: 64.17 kB / 0.9695 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/1.018, allocations: 1.022 MB / 0.9705 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/1.018, allocations: 11.12 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/1.018, allocations: 32.95 kB / 0.9706 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/1.018, allocations: 70.03 kB / 0.9706 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.02, allocations: 0.6853 MB / 0.9713 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/1.027, allocations: 5.755 MB / 0.9769 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.028, allocations: 0.5936 MB / 0.9775 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009177/1.029, allocations: 420.1 kB / 0.9779 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/1.029, allocations: 11.89 kB / 0.9779 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.029, allocations: 37 kB / 0.9779 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 3.396e-06/1.029, allocations: 0 / 0.9779 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.005076/1.034, allocations: 2.056 MB / 0.98 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.034, allocations: 56.12 kB / 0.98 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000828/1.035, allocations: 449.6 kB / 0.9804 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/1.035, allocations: 34.98 kB / 0.9805 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/1.036, allocations: 389.5 kB / 0.9808 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/1.036, allocations: 153.4 kB / 0.981 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.036, allocations: 15 kB / 0.981 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.036, allocations: 362.9 kB / 0.9814 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/1.036, allocations: 242.4 kB / 0.9816 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/1.037, allocations: 462.4 kB / 0.982 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/1.038, allocations: 299.8 kB / 0.9823 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.038, allocations: 7.938 kB / 0.9823 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002015/1.04, allocations: 1.058 MB / 0.9833 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.04, allocations: 8 kB / 0.9834 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.04, allocations: 8 kB / 0.9834 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.041, allocations: 331 kB / 0.9837 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/1.041, allocations: 103.8 kB / 0.9838 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/1.049, allocations: 6.943 MB / 0.9906 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/1.049, allocations: 28.02 kB / 0.9906 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/1.049, allocations: 28.19 kB / 0.9906 GB, free: 8.883 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005534/1.05, allocations: 241.9 kB / 0.9908 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.05, allocations: 59.34 kB / 0.9909 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.052, allocations: 0.9119 MB / 0.9918 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.052, allocations: 11.94 kB / 0.9918 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.052, allocations: 7.953 kB / 0.9918 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.052, allocations: 3.984 kB / 0.9918 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/1.055, allocations: 1.7 MB / 0.9935 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.055, allocations: 0 / 0.9935 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/1.055, allocations: 39.97 kB / 0.9935 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009058/1.056, allocations: 331.4 kB / 0.9938 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/1.056, allocations: 8 kB / 0.9938 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007438/1.064, allocations: 6.931 MB / 1.001 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.064, allocations: 4 kB / 1.001 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/1.066, allocations: 1.003 MB / 1.002 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/1.066, allocations: 176.4 kB / 1.002 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/1.066, allocations: 8 kB / 1.002 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/1.067, allocations: 23.98 kB / 1.002 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.067, allocations: 43.88 kB / 1.002 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/1.067, allocations: 12 kB / 1.002 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000455/1.067, allocations: 302.9 kB / 1.002 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/1.067, allocations: 0 / 1.002 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001123/1.068, allocations: 192 kB / 1.002 GB, free: 12.17 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/1.069, allocations: 118.9 kB / 1.002 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.071, allocations: 1.195 MB / 1.004 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.071, allocations: 0 / 1.004 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.072, allocations: 0.866 MB / 1.004 GB, free: 9.879 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.073, allocations: 189 kB / 1.005 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/1.077, allocations: 1.48 MB / 1.006 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/1.078, allocations: 0.9882 MB / 1.007 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003548/1.078, allocations: 101.2 kB / 1.007 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/1.078, allocations: 35.44 kB / 1.007 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of SimCode: time 9.62e-07/1.078, allocations: 0 / 1.007 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of Templates: time 0.01937/1.097, allocations: 9.193 MB / 1.016 GB, free: 13.93 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches