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.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.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.001378/0.001378, allocations: 108 kB / 15.61 MB, free: 152 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.00154/0.00154, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.315/2.315, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.98 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6144/0.616, allocations: 140.4 MB / 0.9497 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01428/0.6304, allocations: 14.78 MB / 0.9642 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.6469, allocations: 10.35 MB / 0.9743 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.6487, allocations: 57.81 kB / 0.9743 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.6536, allocations: 1.688 MB / 0.976 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.6598, allocations: 1.82 MB / 0.9777 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.6618, allocations: 0.7516 MB / 0.9785 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.6658, allocations: 2.746 MB / 0.9812 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.6678, allocations: 1.421 MB / 0.9825 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.6702, allocations: 1.499 MB / 0.984 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.6717, allocations: 1.156 MB / 0.9851 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.672, allocations: 160 kB / 0.9853 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.6735, allocations: 0.7877 MB / 0.9861 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.6741, allocations: 0.6115 MB / 0.9867 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009558/0.675, allocations: 0.9561 MB / 0.9876 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.6782, allocations: 2.737 MB / 0.9903 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6782, allocations: 8 kB / 0.9903 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6782, allocations: 0 / 0.9903 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.989e-05/0.6783, allocations: 0 / 0.9903 GB, free: 8.305 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.004001/0.6823, allocations: 2.17 MB / 0.9924 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6824, allocations: 8.031 kB / 0.9924 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.6826, allocations: 194.4 kB / 0.9926 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.6943, allocations: 2.108 MB / 0.9946 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.6971, allocations: 1.213 MB / 0.9958 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.6971, allocations: 86.69 kB / 0.9959 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.6974, allocations: 119.9 kB / 0.996 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/0.7034, allocations: 2.674 MB / 0.9986 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-05/0.7034, allocations: 7.938 kB / 0.9986 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.7037, allocations: 55.98 kB / 0.9987 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007003/0.7044, allocations: 194.1 kB / 0.9989 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007766/0.7121, allocations: 2.791 MB / 1.002 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.7275, allocations: 10.52 MB / 1.012 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006812/0.7344, allocations: 2.336 MB / 1.014 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/0.7376, allocations: 1.28 MB / 1.015 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.988e-05/0.7377, allocations: 9 kB / 1.015 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.7377, allocations: 47.56 kB / 1.015 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.7377, allocations: 0 / 1.015 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.06197/0.7997, allocations: 16.47 MB / 1.032 GB, free: 12.97 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.7998, allocations: 68.72 kB / 1.032 GB, free: 12.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.8017, allocations: 1.176 MB / 1.033 GB, free: 11.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.8019, allocations: 57.7 kB / 1.033 GB, free: 11.64 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/0.8025, allocations: 0.7397 MB / 1.034 GB, free: 10.89 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.803, allocations: 0.5121 MB / 1.034 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006109/0.8037, allocations: 287.4 kB / 1.034 GB, free: 10.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.8037, allocations: 305.1 kB / 1.035 GB, free: 9.789 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.8074, allocations: 1.518 MB / 1.036 GB, free: 8.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/0.8113, allocations: 1.776 MB / 1.038 GB, free: 6.398 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/0.8188, allocations: 3.365 MB / 1.041 GB, free: 2.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.8188, allocations: 4 kB / 1.041 GB, free: 2.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01352/0.8323, allocations: 5.273 MB / 1.046 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.8324, allocations: 11.98 kB / 1.046 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8324, allocations: 12.09 kB / 1.046 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006823/0.8392, allocations: 1.899 MB / 1.048 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.8412, allocations: 423.2 kB / 1.049 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02902/0.8703, allocations: 24.13 MB / 1.072 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.8731, allocations: 307.6 kB / 1.072 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.8734, allocations: 67.91 kB / 1.072 GB, free: 1.637 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.0009351/0.8743, allocations: 465.5 kB / 1.073 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004469/0.8748, allocations: 177.8 kB / 1.073 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.8888, allocations: 5.328 MB / 1.078 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.8888, allocations: 16 kB / 1.078 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.644e-05/0.8889, allocations: 16 kB / 1.078 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.8889, allocations: 7.969 kB / 1.078 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/0.9057, allocations: 7.429 MB / 1.086 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.9057, allocations: 0 / 1.086 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.9075, allocations: 351.7 kB / 1.086 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/0.9136, allocations: 1.727 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.9138, allocations: 43.91 kB / 1.088 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/0.9409, allocations: 23.32 MB / 1.11 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.9409, allocations: 4 kB / 1.11 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.9534, allocations: 4.897 MB / 1.115 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000929/0.9543, allocations: 494.8 kB / 1.116 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/0.9547, allocations: 28 kB / 1.116 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/0.9571, allocations: 319.5 kB / 1.116 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005071/0.9576, allocations: 153 kB / 1.116 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.9578, allocations: 51.97 kB / 1.116 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001142/0.959, allocations: 0.7899 MB / 1.117 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.959, allocations: 0 / 1.117 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002059/0.961, allocations: 0.6562 MB / 1.118 GB, free: 1.984 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.01293/0.974, allocations: 5.471 MB / 1.123 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01209/0.9861, allocations: 5.432 MB / 1.128 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.9861, allocations: 0 / 1.128 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007012/0.9931, allocations: 3.359 MB / 1.132 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.9958, allocations: 0.5545 MB / 1.132 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0477/1.043, allocations: 22.98 MB / 1.155 GB, free: 11.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.046, allocations: 1.572 MB / 1.156 GB, free: 9.41 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002093/1.048, allocations: 386.4 kB / 1.156 GB, free: 9.027 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.049, allocations: 0.6554 MB / 1.157 GB, free: 8.371 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/1.049, allocations: 0 / 1.157 GB, free: 8.371 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.158, allocations: 58.35 MB / 1.214 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.32, allocations: 20.2 kB / 1.214 GB, free: 14.7 MB / 0.9825 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