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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001989/0.001989, allocations: 103.8 kB / 15.98 MB, free: 5.891 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.002333/0.002333, allocations: 186 kB / 16.91 MB, free: 5.746 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.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 63.91 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7413, allocations: 140.3 MB / 0.9498 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00667/0.748, allocations: 6.09 MB / 0.9557 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004427/0.7525, allocations: 3.134 MB / 0.9588 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007366/0.7533, allocations: 26.22 kB / 0.9588 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.7554, allocations: 0.8746 MB / 0.9597 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.7568, allocations: 440.4 kB / 0.9601 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.7579, allocations: 434.6 kB / 0.9605 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.7593, allocations: 1.1 MB / 0.9616 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.7604, allocations: 0.7097 MB / 0.9623 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.7611, allocations: 442.6 kB / 0.9627 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.7617, allocations: 491.7 kB / 0.9632 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.7618, allocations: 58.81 kB / 0.9632 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.7628, allocations: 491.7 kB / 0.9637 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.7631, allocations: 285 kB / 0.964 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.7635, allocations: 399.2 kB / 0.9643 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.7646, allocations: 0.9192 MB / 0.9652 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7646, allocations: 0.75 kB / 0.9652 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7646, allocations: 0 / 0.9652 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.7646, allocations: 1.062 kB / 0.9652 GB, free: 13.79 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.001732/0.7664, allocations: 1.052 MB / 0.9663 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7664, allocations: 9.344 kB / 0.9663 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.768, allocations: 217 kB / 0.9665 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.7688, allocations: 0.536 MB / 0.967 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.7689, allocations: 50.42 kB / 0.9671 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.769, allocations: 64.8 kB / 0.9671 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.7705, allocations: 1.03 MB / 0.9681 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.7706, allocations: 11.12 kB / 0.9681 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.7706, allocations: 32.64 kB / 0.9682 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-05/0.7707, allocations: 67.05 kB / 0.9682 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.7718, allocations: 0.691 MB / 0.9689 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005108/0.7769, allocations: 5.743 MB / 0.9745 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7779, allocations: 0.6073 MB / 0.9751 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.7788, allocations: 426.1 kB / 0.9755 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.7789, allocations: 4.062 kB / 0.9755 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7789, allocations: 40.62 kB / 0.9756 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.7789, allocations: 0 / 0.9756 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004565/0.7835, allocations: 2.052 MB / 0.9776 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.7836, allocations: 56.44 kB / 0.9776 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.7841, allocations: 456.9 kB / 0.9781 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.7841, allocations: 32.02 kB / 0.9781 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.7844, allocations: 385.4 kB / 0.9785 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.7845, allocations: 153.7 kB / 0.9786 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.7847, allocations: 111.7 kB / 0.9787 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7849, allocations: 363.8 kB / 0.9791 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.7852, allocations: 244.7 kB / 0.9793 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.7857, allocations: 455.4 kB / 0.9797 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.7867, allocations: 0.7524 MB / 0.9805 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.7867, allocations: 3.031 kB / 0.9805 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00194/0.7887, allocations: 1.067 MB / 0.9815 GB, free: 496 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.7887, allocations: 10.03 kB / 0.9815 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7888, allocations: 7.984 kB / 0.9815 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.7898, allocations: 335.7 kB / 0.9818 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.7901, allocations: 95.83 kB / 0.9819 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/0.7971, allocations: 7.521 MB / 0.9893 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.7977, allocations: 32.02 kB / 0.9893 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.7978, allocations: 28 kB / 0.9893 GB, free: 7.895 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.0003971/0.7982, allocations: 245.6 kB / 0.9896 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7983, allocations: 59.28 kB / 0.9896 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.8001, allocations: 0.9232 MB / 0.9905 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.8001, allocations: 4 kB / 0.9905 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.8002, allocations: 4 kB / 0.9905 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8002, allocations: 3.984 kB / 0.9905 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.8031, allocations: 1.7 MB / 0.9922 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8031, allocations: 4 kB / 0.9922 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.8033, allocations: 35.97 kB / 0.9922 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009422/0.8043, allocations: 335.2 kB / 0.9926 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.8043, allocations: 8.281 kB / 0.9926 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/0.8111, allocations: 7.515 MB / 0.9999 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8112, allocations: 7.938 kB / 0.9999 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.813, allocations: 1.014 MB / 1.001 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.8133, allocations: 172.3 kB / 1.001 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.8135, allocations: 19.98 kB / 1.001 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.8138, allocations: 15.98 kB / 1.001 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.814, allocations: 39.94 kB / 1.001 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.814, allocations: 12 kB / 1.001 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003587/0.8144, allocations: 306.9 kB / 1.001 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8144, allocations: 0 / 1.001 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009058/0.8153, allocations: 195.9 kB / 1.002 GB, free: 10.55 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.0001646/0.8154, allocations: 119.2 kB / 1.002 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.8175, allocations: 1.234 MB / 1.003 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8175, allocations: 0 / 1.003 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.8187, allocations: 0.8774 MB / 1.004 GB, free: 8.207 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.8199, allocations: 203.4 kB / 1.004 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.8228, allocations: 1.592 MB / 1.006 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.8234, allocations: 0.9843 MB / 1.007 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.8235, allocations: 39.44 kB / 1.007 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/0.8236, allocations: 4 kB / 1.007 GB, free: 5.316 MB / 0.7637 GB Notification: Performance of Templates: time 0.02167/0.8452, allocations: 18.45 MB / 1.025 GB, free: 2.895 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