Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001213/0.001213, 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.001277/0.001277, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5771, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01433/0.5915, allocations: 13.98 MB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.6033, allocations: 9.377 MB / 1.04 GB, free: 11.38 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.604, allocations: 55.62 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.6075, allocations: 1.568 MB / 1.041 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.6106, allocations: 1.414 MB / 1.043 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.6121, allocations: 0.6821 MB / 1.043 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.6149, allocations: 3.179 MB / 1.046 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.6165, allocations: 1.344 MB / 1.048 GB, free: 3.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.6176, allocations: 0.9338 MB / 1.048 GB, free: 2.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.6188, allocations: 1.14 MB / 1.05 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.619, allocations: 100 kB / 1.05 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.6204, allocations: 0.889 MB / 1.051 GB, free: 20 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.6208, allocations: 0.549 MB / 1.051 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.6216, allocations: 0.8703 MB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.6238, allocations: 2.722 MB / 1.055 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6238, allocations: 0 / 1.055 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6238, allocations: 4 kB / 1.055 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.6239, allocations: 0 / 1.055 GB, free: 11.86 MB / 0.8106 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.003458/0.6273, allocations: 2.137 MB / 1.057 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.6274, allocations: 16.02 kB / 1.057 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002204/0.6276, allocations: 198.3 kB / 1.057 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.6381, allocations: 2.089 MB / 1.059 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.6402, allocations: 1.201 MB / 1.06 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.6402, allocations: 90.73 kB / 1.06 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.6404, allocations: 119.9 kB / 1.06 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/0.6455, allocations: 2.678 MB / 1.063 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.6456, allocations: 11.84 kB / 1.063 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.6457, allocations: 55.97 kB / 1.063 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005688/0.6463, allocations: 190.1 kB / 1.063 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006702/0.653, allocations: 2.787 MB / 1.066 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.6658, allocations: 10.5 MB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005963/0.6718, allocations: 2.529 MB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.6745, allocations: 1.292 MB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.449e-05/0.6746, allocations: 12.98 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6746, allocations: 43.56 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=89): time 2.354e-06/0.6746, allocations: 0 / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.04257/0.7172, allocations: 13.36 MB / 1.093 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.7173, allocations: 68.72 kB / 1.093 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.7188, allocations: 1.109 MB / 1.094 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.7189, allocations: 49.69 kB / 1.094 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/0.7194, allocations: 0.7116 MB / 1.095 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.7198, allocations: 461.3 kB / 1.095 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004836/0.7203, allocations: 259.5 kB / 1.096 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7205, allocations: 361.9 kB / 1.096 GB, free: 352 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.7234, allocations: 1.339 MB / 1.097 GB, free: 15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/0.7265, allocations: 1.6 MB / 1.099 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006159/0.7327, allocations: 2.998 MB / 1.102 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.7327, allocations: 8 kB / 1.102 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01029/0.743, allocations: 4.438 MB / 1.106 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.743, allocations: 8 kB / 1.106 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.743, allocations: 8 kB / 1.106 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/0.7482, allocations: 1.436 MB / 1.107 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.7501, allocations: 435.2 kB / 1.108 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/0.7734, allocations: 24.56 MB / 1.132 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.7757, allocations: 299.6 kB / 1.132 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.7758, allocations: 71.89 kB / 1.132 GB, free: 9.125 MB / 0.8887 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007901/0.7766, allocations: 433.5 kB / 1.133 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.7769, allocations: 166 kB / 1.133 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.7874, allocations: 4.457 MB / 1.137 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.7874, allocations: 12 kB / 1.137 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.7874, allocations: 16 kB / 1.137 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7874, allocations: 7.969 kB / 1.137 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.8009, allocations: 6.763 MB / 1.144 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.8009, allocations: 0 / 1.144 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.8026, allocations: 387.3 kB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004602/0.8072, allocations: 1.299 MB / 1.145 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.8073, allocations: 43.97 kB / 1.145 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02139/0.8287, allocations: 23.51 MB / 1.168 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8288, allocations: 4 kB / 1.168 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009565/0.8383, allocations: 4.204 MB / 1.173 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/0.8392, allocations: 458.9 kB / 1.173 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.8394, allocations: 24 kB / 1.173 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.8412, allocations: 303.5 kB / 1.173 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/0.8417, allocations: 132.7 kB / 1.173 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.8418, allocations: 47.97 kB / 1.173 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009321/0.8427, allocations: 0.7526 MB / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8427, allocations: 0 / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001796/0.8445, allocations: 0.5703 MB / 1.175 GB, free: 11.44 MB / 0.9356 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009541/0.8541, allocations: 4.792 MB / 1.179 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009538/0.8636, allocations: 5.111 MB / 1.184 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8637, allocations: 0 / 1.184 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.006013/0.8697, allocations: 3.499 MB / 1.188 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.8719, allocations: 0.5061 MB / 1.188 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/0.9093, allocations: 20.92 MB / 1.209 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.9103, allocations: 1.477 MB / 1.21 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001618/0.912, allocations: 417.6 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/0.9128, allocations: 0.6359 MB / 1.211 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.9128, allocations: 0 / 1.211 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.72/1.633, allocations: 49.84 MB / 1.26 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.633, allocations: 240 kB / 1.26 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/4.843, allocations: 0 / 1.26 GB, free: 216.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches