Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001214/0.001215, allocations: 188.3 kB / 16.13 MB, free: 6.645 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.308/2.308, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6475, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01472/0.6623, allocations: 14.69 MB / 0.9634 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.6774, allocations: 10.37 MB / 0.9735 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.6794, allocations: 51.09 kB / 0.9736 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.6834, allocations: 1.574 MB / 0.9751 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006218/0.6896, allocations: 1.605 MB / 0.9767 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.6919, allocations: 0.6875 MB / 0.9774 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004877/0.6968, allocations: 3.403 MB / 0.9807 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.699, allocations: 1.361 MB / 0.982 GB, free: 44 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.7016, allocations: 1.386 MB / 0.9834 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.7036, allocations: 1.167 MB / 0.9845 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.7038, allocations: 96 kB / 0.9846 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.7056, allocations: 0.8851 MB / 0.9855 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.7061, allocations: 0.5412 MB / 0.986 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009131/0.707, allocations: 0.8936 MB / 0.9869 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.7096, allocations: 2.729 MB / 0.9895 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7096, allocations: 8 kB / 0.9895 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7096, allocations: 0 / 0.9895 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.7096, allocations: 0 / 0.9895 GB, free: 8.547 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003745/0.7134, allocations: 2.17 MB / 0.9916 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7134, allocations: 8.031 kB / 0.9917 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002204/0.7136, allocations: 194.3 kB / 0.9918 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.7245, allocations: 2.105 MB / 0.9939 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.727, allocations: 1.221 MB / 0.9951 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.7271, allocations: 86.69 kB / 0.9952 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.7274, allocations: 119.9 kB / 0.9953 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.7327, allocations: 2.67 MB / 0.9979 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.7327, allocations: 7.938 kB / 0.9979 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.7329, allocations: 55.98 kB / 0.998 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005846/0.7335, allocations: 194.1 kB / 0.9981 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006804/0.7403, allocations: 2.787 MB / 1.001 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.7542, allocations: 10.51 MB / 1.011 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/0.7602, allocations: 2.34 MB / 1.013 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/0.7632, allocations: 1.276 MB / 1.015 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-05/0.7633, allocations: 9 kB / 1.015 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.7634, allocations: 43.56 kB / 1.015 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 6.422e-06/0.7634, allocations: 0 / 1.015 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.05556/0.8189, allocations: 16.49 MB / 1.031 GB, free: 13.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.819, allocations: 72.66 kB / 1.031 GB, free: 13.12 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.8206, allocations: 1.168 MB / 1.032 GB, free: 11.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.8208, allocations: 53.7 kB / 1.032 GB, free: 11.89 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.8212, allocations: 0.7475 MB / 1.033 GB, free: 11.13 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.8217, allocations: 0.516 MB / 1.033 GB, free: 10.61 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.8223, allocations: 283.4 kB / 1.034 GB, free: 10.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.8224, allocations: 309.1 kB / 1.034 GB, free: 10.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/0.8256, allocations: 1.51 MB / 1.035 GB, free: 8.508 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.8289, allocations: 1.776 MB / 1.037 GB, free: 6.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006681/0.8356, allocations: 3.369 MB / 1.04 GB, free: 3.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.8356, allocations: 4 kB / 1.04 GB, free: 3.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01257/0.8482, allocations: 5.273 MB / 1.046 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.8482, allocations: 8 kB / 1.046 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.8483, allocations: 16.09 kB / 1.046 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006819/0.8551, allocations: 1.876 MB / 1.047 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.8569, allocations: 419.2 kB / 1.048 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02652/0.8835, allocations: 22.18 MB / 1.069 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.886, allocations: 319.4 kB / 1.07 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.8862, allocations: 63.97 kB / 1.07 GB, free: 3.895 MB / 0.8262 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008532/0.8871, allocations: 465.5 kB / 1.07 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.8875, allocations: 173.9 kB / 1.07 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.9004, allocations: 5.312 MB / 1.076 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.9005, allocations: 16 kB / 1.076 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-05/0.9005, allocations: 20 kB / 1.076 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.9005, allocations: 7.969 kB / 1.076 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.9159, allocations: 7.434 MB / 1.083 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.9159, allocations: 4.344 kB / 1.083 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.9174, allocations: 351.4 kB / 1.083 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005928/0.9234, allocations: 1.712 MB / 1.085 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.9235, allocations: 51.94 kB / 1.085 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0244/0.9479, allocations: 21.34 MB / 1.106 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.948, allocations: 0 / 1.106 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.9595, allocations: 4.893 MB / 1.111 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/0.9604, allocations: 498.7 kB / 1.111 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.9607, allocations: 28 kB / 1.111 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.9626, allocations: 319.5 kB / 1.111 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/0.9631, allocations: 149 kB / 1.112 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.9633, allocations: 55.95 kB / 1.112 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009822/0.9643, allocations: 0.786 MB / 1.112 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9643, allocations: 8 kB / 1.112 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001862/0.9661, allocations: 0.6562 MB / 1.113 GB, free: 6.293 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/0.9778, allocations: 5.467 MB / 1.118 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01022/0.988, allocations: 5.143 MB / 1.123 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9881, allocations: 0 / 1.123 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006555/0.9946, allocations: 3.359 MB / 1.127 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.997, allocations: 0.5182 MB / 1.127 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04548/1.042, allocations: 23.62 MB / 1.15 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.044, allocations: 1.572 MB / 1.152 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001695/1.045, allocations: 378.4 kB / 1.152 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/1.046, allocations: 0.6554 MB / 1.153 GB, free: 12.37 MB / 0.92 GB Notification: Performance of SimCode: time 5.71e-07/1.046, allocations: 4 kB / 1.153 GB, free: 12.37 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08359/1.13, allocations: 56.59 MB / 1.208 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.13, allocations: 256.1 kB / 1.208 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/4.138, allocations: 0 / 1.208 GB, free: 4.191 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches