Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0007555/0.0007555, 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.0008023/0.0008023, allocations: 169.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.877/0.877, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.676/1.676, allocations: 377.8 MB / 0.6221 GB, free: 8.645 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.ACLine_R,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.239e-05, allocations: 2.281 kB / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005248/0.005261, allocations: 6.461 MB / 0.9873 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.008035, allocations: 3.016 MB / 0.9902 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.008253, allocations: 43.56 kB / 0.9903 GB, free: 7.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.009463, allocations: 0.9524 MB / 0.9912 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.01001, allocations: 0.5357 MB / 0.9917 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.0105, allocations: 450.8 kB / 0.9921 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.01122, allocations: 1.271 MB / 0.9934 GB, free: 4.664 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.01174, allocations: 0.5449 MB / 0.9939 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.01224, allocations: 0.6624 MB / 0.9946 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.01264, allocations: 478.7 kB / 0.995 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.01271, allocations: 68 kB / 0.9951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.01301, allocations: 347.1 kB / 0.9954 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.01319, allocations: 331 kB / 0.9957 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.01338, allocations: 315.2 kB / 0.996 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0007856/0.01417, allocations: 1.246 MB / 0.9973 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01417, allocations: 4 kB / 0.9973 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01417, allocations: 0 / 0.9973 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.01418, allocations: 4 kB / 0.9973 GB, free: 0.6836 MB / 0.9011 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.001186/0.01537, allocations: 1.1 MB / 0.9983 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.0154, allocations: 12.03 kB / 0.9983 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.01549, allocations: 122.7 kB / 0.9985 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.01626, allocations: 248.1 kB / 0.9987 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.01687, allocations: 0.5391 MB / 0.9992 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.0169, allocations: 53.61 kB / 0.9993 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.01697, allocations: 64.36 kB / 0.9993 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/0.01796, allocations: 1.332 MB / 1.001 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.01798, allocations: 8.125 kB / 1.001 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.01802, allocations: 36.11 kB / 1.001 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.174e-05/0.01812, allocations: 89.19 kB / 1.001 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.01887, allocations: 0.7465 MB / 1.001 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.02184, allocations: 4.624 MB / 1.006 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.02246, allocations: 0.5116 MB / 1.007 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.02273, allocations: 286.2 kB / 1.007 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.02276, allocations: 4.5 kB / 1.007 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.02278, allocations: 39.06 kB / 1.007 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 1.522e-06/0.02278, allocations: 0 / 1.007 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.002162/0.02494, allocations: 1.689 MB / 1.008 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.02497, allocations: 55.91 kB / 1.009 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.02538, allocations: 0.582 MB / 1.009 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.02541, allocations: 37.7 kB / 1.009 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.02559, allocations: 424.1 kB / 1.01 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.02567, allocations: 178.4 kB / 1.01 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.02579, allocations: 130.5 kB / 1.01 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.02589, allocations: 374.8 kB / 1.01 GB, free: 2.945 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.02616, allocations: 273.9 kB / 1.01 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.02653, allocations: 496.9 kB / 1.011 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.02721, allocations: 0.8163 MB / 1.012 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.02721, allocations: 4 kB / 1.012 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001184/0.0284, allocations: 1.07 MB / 1.013 GB, free: 96 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.02841, allocations: 11.94 kB / 1.013 GB, free: 84 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.02842, allocations: 8 kB / 1.013 GB, free: 76 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.02891, allocations: 283.4 kB / 1.013 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.02915, allocations: 123.8 kB / 1.013 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.03297, allocations: 6.679 MB / 1.02 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.03322, allocations: 35.97 kB / 1.02 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.03325, allocations: 28 kB / 1.02 GB, free: 8.461 MB / 0.9323 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.0002025/0.03346, allocations: 249.7 kB / 1.02 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.03352, allocations: 83.47 kB / 1.02 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009138/0.03443, allocations: 0.8707 MB / 1.021 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.03444, allocations: 8 kB / 1.021 GB, free: 7.227 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.03444, allocations: 7.938 kB / 1.021 GB, free: 7.219 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.03445, allocations: 3.984 kB / 1.021 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.03598, allocations: 1.614 MB / 1.023 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.03598, allocations: 4 kB / 1.023 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.03611, allocations: 75.75 kB / 1.023 GB, free: 5.441 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.03653, allocations: 263.4 kB / 1.023 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.03655, allocations: 15.94 kB / 1.023 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4014/0.438, allocations: 6.661 MB / 1.029 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.438, allocations: 5.812 kB / 1.029 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4392, allocations: 0.9745 MB / 1.03 GB, free: 53.98 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.4394, allocations: 122.9 kB / 1.03 GB, free: 53.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4395, allocations: 11.52 kB / 1.03 GB, free: 53.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4397, allocations: 29.53 kB / 1.03 GB, free: 53.98 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.4398, allocations: 47.52 kB / 1.031 GB, free: 53.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.4398, allocations: 12.22 kB / 1.031 GB, free: 53.98 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003422/0.4401, allocations: 392 kB / 1.031 GB, free: 53.89 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4401, allocations: 5 kB / 1.031 GB, free: 53.89 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005687/0.4407, allocations: 222.8 kB / 1.031 GB, free: 53.89 MB / 0.9323 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.001113/0.4418, allocations: 1.532 MB / 1.033 GB, free: 53.08 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.4431, allocations: 1.228 MB / 1.034 GB, free: 52.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4431, allocations: 0.7188 kB / 1.034 GB, free: 52.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.4438, allocations: 0.874 MB / 1.035 GB, free: 51.81 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.4444, allocations: 224 kB / 1.035 GB, free: 51.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.4505, allocations: 6.399 MB / 1.041 GB, free: 48.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.4508, allocations: 413.7 kB / 1.042 GB, free: 48.08 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002859/0.4511, allocations: 125.4 kB / 1.042 GB, free: 48.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.4513, allocations: 256.5 kB / 1.042 GB, free: 47.87 MB / 0.9323 GB Notification: Performance of SimCode: time 9.42e-07/0.4513, allocations: 0 / 1.042 GB, free: 47.87 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.4889, allocations: 19.45 MB / 1.061 GB, free: 45.42 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.417, allocations: 8.953 kB / 1.061 GB, free: 45.42 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 11.288228704594076]