Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.0009083/0.0009083, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005636/0.005636, allocations: 170 kB / 16.26 MB, free: 6.613 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.209/2.209, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002998, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5834, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005548/0.589, allocations: 6.374 MB / 0.9614 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.593, allocations: 3.044 MB / 0.9644 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.5933, allocations: 24 kB / 0.9644 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.5937, allocations: 131.8 kB / 0.9645 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009052/0.5946, allocations: 490 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.5956, allocations: 403.2 kB / 0.9654 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.5971, allocations: 1.585 MB / 0.9669 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.5989, allocations: 1.011 MB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.5995, allocations: 387.2 kB / 0.9683 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.6001, allocations: 0.4965 MB / 0.9688 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.599e-05/0.6002, allocations: 36.09 kB / 0.9688 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007986/0.601, allocations: 440.2 kB / 0.9692 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.6013, allocations: 270.2 kB / 0.9695 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.6017, allocations: 432.1 kB / 0.9699 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.603, allocations: 1.186 MB / 0.971 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.603, allocations: 0 / 0.971 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.603, allocations: 3.938 kB / 0.971 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.603, allocations: 5 kB / 0.9711 GB, free: 12.11 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001749/0.6048, allocations: 1.007 MB / 0.972 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6049, allocations: 9.438 kB / 0.972 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.605, allocations: 129.4 kB / 0.9722 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.6065, allocations: 238.2 kB / 0.9724 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.6073, allocations: 0.5506 MB / 0.9729 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.6073, allocations: 48.3 kB / 0.973 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6075, allocations: 69.44 kB / 0.973 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.6089, allocations: 1.091 MB / 0.9741 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.609, allocations: 6.688 kB / 0.9741 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.6091, allocations: 33.67 kB / 0.9742 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.6092, allocations: 85.62 kB / 0.9742 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6104, allocations: 0.7482 MB / 0.975 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.6157, allocations: 5.902 MB / 0.9807 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/0.6167, allocations: 0.5609 MB / 0.9813 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.6171, allocations: 329.3 kB / 0.9816 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.6172, allocations: 5.188 kB / 0.9816 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.6172, allocations: 41.69 kB / 0.9816 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.6172, allocations: 0 / 0.9816 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003998/0.6212, allocations: 1.997 MB / 0.9836 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.6213, allocations: 55.84 kB / 0.9836 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.6219, allocations: 0.5625 MB / 0.9842 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.6219, allocations: 37.64 kB / 0.9842 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.6222, allocations: 426.9 kB / 0.9846 GB, free: 348 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.6223, allocations: 169.6 kB / 0.9848 GB, free: 176 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.6224, allocations: 61.69 kB / 0.9848 GB, free: 108 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6226, allocations: 374.7 kB / 0.9852 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.623, allocations: 277.8 kB / 0.9855 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.6235, allocations: 493 kB / 0.9859 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/0.6245, allocations: 0.8093 MB / 0.9867 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6245, allocations: 8 kB / 0.9867 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001697/0.6262, allocations: 1.083 MB / 0.9878 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6263, allocations: 9.094 kB / 0.9878 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6263, allocations: 8.062 kB / 0.9878 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007886/0.6271, allocations: 279.1 kB / 0.9881 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.6276, allocations: 123.8 kB / 0.9882 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.6332, allocations: 6.603 MB / 0.9946 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.6339, allocations: 39.95 kB / 0.9947 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.6339, allocations: 31.94 kB / 0.9947 GB, free: 5.242 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003496/0.6343, allocations: 257.6 kB / 0.995 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6344, allocations: 71.16 kB / 0.995 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.636, allocations: 0.8924 MB / 0.9959 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.636, allocations: 8 kB / 0.9959 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.636, allocations: 4 kB / 0.9959 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.636, allocations: 3.984 kB / 0.9959 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.6386, allocations: 1.728 MB / 0.9976 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6386, allocations: 0 / 0.9976 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.6389, allocations: 64.06 kB / 0.9977 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007444/0.6396, allocations: 271.4 kB / 0.9979 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.6397, allocations: 8 kB / 0.9979 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006045/0.6457, allocations: 6.587 MB / 1.004 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6457, allocations: 4.062 kB / 1.004 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6473, allocations: 0.9911 MB / 1.005 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.6476, allocations: 196.2 kB / 1.006 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.6478, allocations: 15.92 kB / 1.006 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.6482, allocations: 27.97 kB / 1.006 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6483, allocations: 47.94 kB / 1.006 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.6483, allocations: 12 kB / 1.006 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004747/0.6488, allocations: 391.1 kB / 1.006 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6488, allocations: 0 / 1.006 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009256/0.6498, allocations: 220 kB / 1.006 GB, free: 8.742 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.6517, allocations: 1.544 MB / 1.008 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.6539, allocations: 1.272 MB / 1.009 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6539, allocations: 0 / 1.009 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.6551, allocations: 0.8894 MB / 1.01 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.6564, allocations: 211.2 kB / 1.01 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/0.6655, allocations: 6.88 MB / 1.017 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.6661, allocations: 1.016 MB / 1.018 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.6666, allocations: 118 kB / 1.018 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.6669, allocations: 255.3 kB / 1.018 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.6669, allocations: 0 / 1.018 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.6985, allocations: 16.44 MB / 1.034 GB, free: 11.95 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.6987, allocations: 244.9 kB / 1.034 GB, free: 11.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.734, allocations: 0 / 1.034 GB, free: 11.7 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches