Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000797/0.000797, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8527/0.8527, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.645e-05, allocations: 5.094 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01109/0.01111, allocations: 13.74 MB / 0.9944 GB, free: 4.785 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.02123, allocations: 9.822 MB / 1.004 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.02249, allocations: 87.25 kB / 1.004 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.02502, allocations: 1.697 MB / 1.006 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.02907, allocations: 1.898 MB / 1.008 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.03058, allocations: 0.7598 MB / 1.008 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00338/0.03396, allocations: 2.838 MB / 1.011 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.03569, allocations: 1.196 MB / 1.012 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.03835, allocations: 2.109 MB / 1.014 GB, free: 304 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.03972, allocations: 0.931 MB / 1.015 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.04004, allocations: 156 kB / 1.015 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.04128, allocations: 0.7365 MB / 1.016 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005317/0.04181, allocations: 0.6308 MB / 1.017 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008104/0.04262, allocations: 0.639 MB / 1.017 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.04557, allocations: 2.773 MB / 1.02 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.04557, allocations: 0 / 1.02 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.803e-06/0.04557, allocations: 4 kB / 1.02 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.819e-05/0.04565, allocations: 0 / 1.02 GB, free: 10.41 MB / 0.9792 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.00342/0.04907, allocations: 2.124 MB / 1.022 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.04912, allocations: 12.02 kB / 1.022 GB, free: 8.234 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/0.04935, allocations: 190.4 kB / 1.022 GB, free: 8.039 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.05533, allocations: 2.117 MB / 1.024 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.05756, allocations: 1.197 MB / 1.026 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.05761, allocations: 82.69 kB / 1.026 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.05785, allocations: 124.3 kB / 1.026 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004076/0.06192, allocations: 2.885 MB / 1.029 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.06197, allocations: 11.94 kB / 1.029 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.06211, allocations: 47.98 kB / 1.029 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003875/0.0625, allocations: 190.1 kB / 1.029 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.06719, allocations: 2.787 MB / 1.032 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00993/0.07712, allocations: 8.341 MB / 1.04 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/0.08073, allocations: 2.175 MB / 1.042 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.08252, allocations: 1.195 MB / 1.043 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.178e-05/0.08258, allocations: 9 kB / 1.043 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.08262, allocations: 43.56 kB / 1.043 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 3.838e-06/0.08262, allocations: 4 kB / 1.043 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of matching and sorting (n=153): time 0.4322/0.5148, allocations: 15.99 MB / 1.059 GB, free: 99.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.5149, allocations: 73.66 kB / 1.059 GB, free: 99.33 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.516, allocations: 1.185 MB / 1.06 GB, free: 98.87 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.5162, allocations: 51.67 kB / 1.06 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.5165, allocations: 0.7544 MB / 1.061 GB, free: 98.28 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.5168, allocations: 0.5287 MB / 1.061 GB, free: 97.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/0.5171, allocations: 289.1 kB / 1.061 GB, free: 97.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.5171, allocations: 301.1 kB / 1.062 GB, free: 97.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.519, allocations: 1.511 MB / 1.063 GB, free: 97.05 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.521, allocations: 1.779 MB / 1.065 GB, free: 96.31 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003968/0.5249, allocations: 3.372 MB / 1.068 GB, free: 94.94 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5249, allocations: 3.469 kB / 1.068 GB, free: 94.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00822/0.5332, allocations: 5.214 MB / 1.073 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5332, allocations: 7.438 kB / 1.073 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.5332, allocations: 7.531 kB / 1.073 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003974/0.5372, allocations: 1.875 MB / 1.075 GB, free: 92.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5384, allocations: 418.3 kB / 1.076 GB, free: 92.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.5569, allocations: 23.05 MB / 1.098 GB, free: 76.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.5588, allocations: 304.7 kB / 1.098 GB, free: 76.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.559, allocations: 67.41 kB / 1.098 GB, free: 76.9 MB / 0.9948 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.0008406/0.5598, allocations: 468.2 kB / 1.099 GB, free: 76.61 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.5601, allocations: 183.7 kB / 1.099 GB, free: 76.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008098/0.5682, allocations: 5.25 MB / 1.104 GB, free: 74.77 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5682, allocations: 15.69 kB / 1.104 GB, free: 74.77 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.216e-05/0.5683, allocations: 23.19 kB / 1.104 GB, free: 74.76 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.5683, allocations: 11.95 kB / 1.104 GB, free: 74.76 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.5796, allocations: 6.973 MB / 1.111 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.5796, allocations: 10.03 kB / 1.111 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5806, allocations: 352.7 kB / 1.111 GB, free: 72.28 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003729/0.5843, allocations: 1.705 MB / 1.113 GB, free: 71.85 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.5845, allocations: 43.36 kB / 1.113 GB, free: 71.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.6024, allocations: 22.21 MB / 1.135 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6024, allocations: 7.828 kB / 1.135 GB, free: 56.37 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007871/0.6102, allocations: 4.817 MB / 1.139 GB, free: 54.67 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.6113, allocations: 430.5 kB / 1.14 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6115, allocations: 28.66 kB / 1.14 GB, free: 54.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.6127, allocations: 313.8 kB / 1.14 GB, free: 54.42 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005703/0.6133, allocations: 163.5 kB / 1.14 GB, free: 54.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.6134, allocations: 57.31 kB / 1.14 GB, free: 54.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009137/0.6143, allocations: 0.7878 MB / 1.141 GB, free: 54.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6143, allocations: 3.938 kB / 1.141 GB, free: 54.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002195/0.6165, allocations: 0.6555 MB / 1.142 GB, free: 53.98 MB / 0.9948 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.007239/0.6238, allocations: 5.402 MB / 1.147 GB, free: 50.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006401/0.6302, allocations: 4.919 MB / 1.152 GB, free: 47.67 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6302, allocations: 3.781 kB / 1.152 GB, free: 47.67 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003805/0.634, allocations: 3.275 MB / 1.155 GB, free: 45.27 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6358, allocations: 0.5602 MB / 1.156 GB, free: 44.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/0.6623, allocations: 21.83 MB / 1.177 GB, free: 22.46 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.6631, allocations: 0.9765 MB / 1.178 GB, free: 21.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001012/0.6641, allocations: 381.9 kB / 1.178 GB, free: 21.07 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/0.6646, allocations: 0.6565 MB / 1.179 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.353e-06/0.6646, allocations: 0 / 1.179 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07408/0.7387, allocations: 63.86 MB / 1.241 GB, free: 5.562 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.94, allocations: 14.75 kB / 1.241 GB, free: 5.555 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.931374947540462]