Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002467/0.002467, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.387/2.387, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6865, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006748/0.6933, allocations: 6.162 MB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004394/0.6977, allocations: 3.157 MB / 0.9583 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.6982, allocations: 27.03 kB / 0.9584 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.7004, allocations: 0.8755 MB / 0.9592 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.7015, allocations: 443.4 kB / 0.9596 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.7026, allocations: 461.1 kB / 0.9601 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.704, allocations: 1.102 MB / 0.9612 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.7052, allocations: 0.7148 MB / 0.9619 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.7059, allocations: 443.2 kB / 0.9623 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.7066, allocations: 492.5 kB / 0.9628 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.757e-05/0.7067, allocations: 57.75 kB / 0.9628 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.7077, allocations: 487.7 kB / 0.9633 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.708, allocations: 285.4 kB / 0.9635 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.7084, allocations: 403.8 kB / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.7099, allocations: 1.204 MB / 0.9651 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7099, allocations: 0.75 kB / 0.9651 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7099, allocations: 4 kB / 0.9651 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.7099, allocations: 0.7188 kB / 0.9651 GB, free: 13.51 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.00178/0.7117, allocations: 1.058 MB / 0.9661 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7118, allocations: 9.906 kB / 0.9662 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.7119, allocations: 119.9 kB / 0.9663 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.7134, allocations: 214.2 kB / 0.9665 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/0.7143, allocations: 0.5465 MB / 0.967 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.7144, allocations: 51.2 kB / 0.9671 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.7145, allocations: 64.39 kB / 0.9671 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.7161, allocations: 1.042 MB / 0.9681 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.7161, allocations: 7.281 kB / 0.9681 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.7162, allocations: 33.17 kB / 0.9682 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.621e-05/0.7163, allocations: 66.11 kB / 0.9682 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.7174, allocations: 0.6946 MB / 0.9689 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.7229, allocations: 5.744 MB / 0.9745 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.7238, allocations: 0.6002 MB / 0.9751 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/0.7246, allocations: 422.4 kB / 0.9755 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.7246, allocations: 3.969 kB / 0.9755 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7246, allocations: 36.88 kB / 0.9756 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.7247, allocations: 0 / 0.9756 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004655/0.7293, allocations: 2.069 MB / 0.9776 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.7294, allocations: 56.19 kB / 0.9776 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.73, allocations: 465.8 kB / 0.9781 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.73, allocations: 36.28 kB / 0.9781 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.7304, allocations: 381.5 kB / 0.9785 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.7305, allocations: 148.6 kB / 0.9786 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.7307, allocations: 112.5 kB / 0.9787 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7309, allocations: 368.4 kB / 0.9791 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.7313, allocations: 247.7 kB / 0.9793 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.7318, allocations: 460.1 kB / 0.9797 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.7328, allocations: 0.7482 MB / 0.9805 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.7328, allocations: 0 / 0.9805 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001958/0.7348, allocations: 1.077 MB / 0.9815 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.7348, allocations: 8 kB / 0.9815 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7349, allocations: 8 kB / 0.9815 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.736, allocations: 331.4 kB / 0.9819 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.7363, allocations: 95.81 kB / 0.9819 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.7438, allocations: 7.522 MB / 0.9893 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.7444, allocations: 32.3 kB / 0.9893 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.7445, allocations: 24 kB / 0.9893 GB, free: 7.27 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.0003881/0.7449, allocations: 253.5 kB / 0.9896 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.745, allocations: 59.25 kB / 0.9896 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.7468, allocations: 0.9117 MB / 0.9905 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.7468, allocations: 8 kB / 0.9905 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.7468, allocations: 4 kB / 0.9905 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7468, allocations: 4 kB / 0.9906 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.7498, allocations: 1.708 MB / 0.9922 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.7498, allocations: 8.031 kB / 0.9922 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.75, allocations: 35.97 kB / 0.9923 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.7511, allocations: 331 kB / 0.9926 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.7511, allocations: 11.94 kB / 0.9926 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007658/0.7588, allocations: 7.505 MB / 0.9999 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7588, allocations: 4 kB / 0.9999 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.7606, allocations: 1.022 MB / 1.001 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.761, allocations: 172.3 kB / 1.001 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.7611, allocations: 16 kB / 1.001 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.7614, allocations: 23.97 kB / 1.001 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.7616, allocations: 35.95 kB / 1.001 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.7616, allocations: 12 kB / 1.001 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000347/0.762, allocations: 322.7 kB / 1.001 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.762, allocations: 0 / 1.001 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008635/0.7629, allocations: 196 kB / 1.002 GB, free: 9.898 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.001992/0.7649, allocations: 1.559 MB / 1.003 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.767, allocations: 1.25 MB / 1.004 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7671, allocations: 3.938 kB / 1.004 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.7683, allocations: 0.8543 MB / 1.005 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7694, allocations: 197.8 kB / 1.005 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009274/0.7787, allocations: 6.27 MB / 1.012 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.7794, allocations: 0.996 MB / 1.013 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.7797, allocations: 105.1 kB / 1.013 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.78, allocations: 227.4 kB / 1.013 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/0.78, allocations: 0 / 1.013 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.8191, allocations: 15.28 MB / 1.028 GB, free: 14.97 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.8194, allocations: 252.5 kB / 1.028 GB, free: 14.71 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.937, allocations: 0 / 1.028 GB, free: 14.71 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches