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.0009961/0.0009963, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 181.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.328 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.438/2.438, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7555, allocations: 142.4 MB / 0.9557 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005509/0.761, allocations: 5.683 MB / 0.9613 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.7657, allocations: 3.116 MB / 0.9643 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.7664, allocations: 25.41 kB / 0.9643 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.7669, allocations: 118.4 kB / 0.9644 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.7685, allocations: 439.7 kB / 0.9649 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.7698, allocations: 449.6 kB / 0.9653 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.7718, allocations: 1.454 MB / 0.9667 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.7739, allocations: 0.9975 MB / 0.9677 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008987/0.7748, allocations: 356.5 kB / 0.968 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.7759, allocations: 445.4 kB / 0.9685 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.776, allocations: 34.75 kB / 0.9685 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.7774, allocations: 0.5695 MB / 0.969 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.7779, allocations: 255.9 kB / 0.9693 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008186/0.7787, allocations: 386.3 kB / 0.9697 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.7802, allocations: 0.8972 MB / 0.9705 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7803, allocations: 0.9375 kB / 0.9705 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7803, allocations: 0 / 0.9705 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.061e-05/0.7803, allocations: 0 / 0.9705 GB, free: 13.01 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.002288/0.7826, allocations: 0.9085 MB / 0.9714 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7827, allocations: 9.75 kB / 0.9714 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.7846, allocations: 222.2 kB / 0.9716 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.7857, allocations: 0.5241 MB / 0.9722 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.7858, allocations: 50.61 kB / 0.9722 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.786, allocations: 69.23 kB / 0.9723 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.7881, allocations: 1.029 MB / 0.9733 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.7881, allocations: 7.844 kB / 0.9733 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.7882, allocations: 32.33 kB / 0.9733 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.7884, allocations: 66.7 kB / 0.9734 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.7898, allocations: 0.6912 MB / 0.974 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006308/0.7961, allocations: 5.766 MB / 0.9797 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.7971, allocations: 0.5996 MB / 0.9803 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.7979, allocations: 418.4 kB / 0.9807 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.798, allocations: 3.844 kB / 0.9807 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.798, allocations: 41.42 kB / 0.9807 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 3.226e-06/0.798, allocations: 4 kB / 0.9807 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.00511/0.8031, allocations: 2.067 MB / 0.9827 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.8032, allocations: 55.41 kB / 0.9828 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.8039, allocations: 454.8 kB / 0.9832 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.8039, allocations: 29.7 kB / 0.9832 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.8042, allocations: 395 kB / 0.9836 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.8044, allocations: 153.9 kB / 0.9838 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.8045, allocations: 57.69 kB / 0.9838 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.8046, allocations: 358.8 kB / 0.9842 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.805, allocations: 249.2 kB / 0.9844 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.8055, allocations: 453 kB / 0.9848 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.8065, allocations: 0.748 MB / 0.9856 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8065, allocations: 7.938 kB / 0.9856 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002073/0.8086, allocations: 1.061 MB / 0.9866 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.8087, allocations: 8 kB / 0.9866 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.8087, allocations: 8 kB / 0.9866 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.8098, allocations: 339.9 kB / 0.9869 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.8102, allocations: 91.89 kB / 0.987 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00759/0.8178, allocations: 6.955 MB / 0.9938 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.8184, allocations: 31.98 kB / 0.9939 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.8185, allocations: 24 kB / 0.9939 GB, free: 6.691 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004641/0.819, allocations: 250.5 kB / 0.9941 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.8191, allocations: 59.33 kB / 0.9942 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.8211, allocations: 0.9154 MB / 0.9951 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.8211, allocations: 4.281 kB / 0.9951 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.8211, allocations: 4 kB / 0.9951 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.8211, allocations: 7.984 kB / 0.9951 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.8242, allocations: 1.7 MB / 0.9967 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8242, allocations: 3.984 kB / 0.9968 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.8244, allocations: 47.91 kB / 0.9968 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.8255, allocations: 327.3 kB / 0.9971 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.8255, allocations: 12 kB / 0.9971 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.8328, allocations: 6.931 MB / 1.004 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8328, allocations: 4 kB / 1.004 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.8347, allocations: 1.014 MB / 1.005 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.8351, allocations: 180.4 kB / 1.005 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.8352, allocations: 8 kB / 1.005 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.8356, allocations: 23.97 kB / 1.005 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.8358, allocations: 39.89 kB / 1.005 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.8358, allocations: 15.94 kB / 1.005 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004234/0.8363, allocations: 310.9 kB / 1.005 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8363, allocations: 288 / 1.005 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001093/0.8374, allocations: 196 kB / 1.006 GB, free: 9.934 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001779/0.8375, allocations: 111.1 kB / 1.006 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.8397, allocations: 1.199 MB / 1.007 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.8397, allocations: 4 kB / 1.007 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.841, allocations: 0.8696 MB / 1.008 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.8423, allocations: 182.4 kB / 1.008 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.845, allocations: 1.592 MB / 1.009 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.8458, allocations: 0.996 MB / 1.01 GB, free: 4.797 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.8459, allocations: 35.44 kB / 1.01 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/0.8459, allocations: 0 / 1.01 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of Templates: time 0.02521/0.8712, allocations: 18.37 MB / 1.028 GB, free: 2.414 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/jenkins1/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