Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0007752/0.0007752, 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.0008851/0.0008851, 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.8912/0.8912, 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.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.309e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01064/0.01066, allocations: 13.1 MB / 0.9938 GB, free: 5.434 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.009292/0.01996, allocations: 9.002 MB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.02107, allocations: 87.19 kB / 1.003 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.02357, allocations: 1.669 MB / 1.004 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.02703, allocations: 1.636 MB / 1.006 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.02852, allocations: 0.7665 MB / 1.007 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002898/0.03142, allocations: 2.601 MB / 1.009 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.033, allocations: 1.184 MB / 1.01 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.03531, allocations: 1.59 MB / 1.012 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.03674, allocations: 0.9465 MB / 1.013 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.03704, allocations: 160 kB / 1.013 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.03819, allocations: 0.7327 MB / 1.014 GB, free: 0.9805 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005005/0.0387, allocations: 0.6503 MB / 1.014 GB, free: 336 kB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0007252/0.03942, allocations: 0.6352 MB / 1.015 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.04212, allocations: 2.781 MB / 1.018 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.04212, allocations: 4 kB / 1.018 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.194e-06/0.04212, allocations: 4 kB / 1.018 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.132e-05/0.04218, allocations: 0 / 1.018 GB, free: 12.89 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.002958/0.04513, allocations: 2.085 MB / 1.02 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.04518, allocations: 8.031 kB / 1.02 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.04536, allocations: 190.4 kB / 1.02 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.05116, allocations: 2.098 MB / 1.022 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.0531, allocations: 1.18 MB / 1.023 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.05315, allocations: 90.73 kB / 1.023 GB, free: 7.145 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.0534, allocations: 116.4 kB / 1.023 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.05721, allocations: 2.897 MB / 1.026 GB, free: 3.938 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/0.05725, allocations: 7.953 kB / 1.026 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.05737, allocations: 51.98 kB / 1.026 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/0.05771, allocations: 178.1 kB / 1.026 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004515/0.06223, allocations: 2.803 MB / 1.029 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009404/0.07163, allocations: 8.335 MB / 1.037 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.07518, allocations: 2.216 MB / 1.039 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.07704, allocations: 1.206 MB / 1.041 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.0771, allocations: 13 kB / 1.041 GB, free: 4.93 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.07713, allocations: 47.5 kB / 1.041 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 4.288e-06/0.07714, allocations: 4 kB / 1.041 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.4244/0.5015, allocations: 12.65 MB / 1.053 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.5016, allocations: 69.53 kB / 1.053 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.5026, allocations: 1.134 MB / 1.054 GB, free: 99.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.5028, allocations: 47.58 kB / 1.054 GB, free: 99.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.5031, allocations: 0.7276 MB / 1.055 GB, free: 99.28 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.5034, allocations: 467.8 kB / 1.055 GB, free: 98.97 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.5037, allocations: 263.2 kB / 1.056 GB, free: 98.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.5037, allocations: 361.2 kB / 1.056 GB, free: 98.54 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.5055, allocations: 1.34 MB / 1.057 GB, free: 98.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.5073, allocations: 1.598 MB / 1.059 GB, free: 97.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/0.511, allocations: 3 MB / 1.062 GB, free: 96.31 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.511, allocations: 2.75 kB / 1.062 GB, free: 96.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006265/0.5172, allocations: 4.4 MB / 1.066 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5173, allocations: 8 kB / 1.066 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5173, allocations: 8.281 kB / 1.066 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.5199, allocations: 1.433 MB / 1.067 GB, free: 94.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.521, allocations: 434.5 kB / 1.068 GB, free: 94.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.5349, allocations: 25.09 MB / 1.092 GB, free: 74.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5365, allocations: 300.1 kB / 1.093 GB, free: 74.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.5366, allocations: 63.52 kB / 1.093 GB, free: 74.12 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 (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.0006734/0.5373, allocations: 433.4 kB / 1.093 GB, free: 73.85 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.5375, allocations: 169.2 kB / 1.093 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007002/0.5445, allocations: 4.41 MB / 1.098 GB, free: 72.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5445, allocations: 16.97 kB / 1.098 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/0.5446, allocations: 14.25 kB / 1.098 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5446, allocations: 6.234 kB / 1.098 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/0.5544, allocations: 6.286 MB / 1.104 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/0.5544, allocations: 3.656 kB / 1.104 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/0.5554, allocations: 380.2 kB / 1.104 GB, free: 70.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/0.558, allocations: 1.304 MB / 1.105 GB, free: 69.66 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.5581, allocations: 39.36 kB / 1.105 GB, free: 69.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.5716, allocations: 23.95 MB / 1.129 GB, free: 49.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5716, allocations: 3.344 kB / 1.129 GB, free: 49.93 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006882/0.5785, allocations: 4.159 MB / 1.133 GB, free: 48.46 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/0.5794, allocations: 386.9 kB / 1.133 GB, free: 48.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.5796, allocations: 24.75 kB / 1.133 GB, free: 48.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.5807, allocations: 304.7 kB / 1.134 GB, free: 48.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/0.5812, allocations: 134.7 kB / 1.134 GB, free: 48.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.5813, allocations: 47.61 kB / 1.134 GB, free: 48.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008244/0.5821, allocations: 0.7543 MB / 1.134 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5821, allocations: 4 kB / 1.134 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001834/0.5839, allocations: 0.5692 MB / 1.135 GB, free: 47.84 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 (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.006829/0.5908, allocations: 4.752 MB / 1.14 GB, free: 45.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006723/0.5975, allocations: 4.96 MB / 1.145 GB, free: 43.34 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5975, allocations: 1.281 kB / 1.145 GB, free: 43.34 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004082/0.6016, allocations: 3.415 MB / 1.148 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.6034, allocations: 0.5583 MB / 1.148 GB, free: 41.11 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/0.6294, allocations: 19.37 MB / 1.167 GB, free: 30.97 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.63, allocations: 0.8871 MB / 1.168 GB, free: 30.14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6311, allocations: 425.6 kB / 1.169 GB, free: 29.72 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.6317, allocations: 0.6252 MB / 1.169 GB, free: 29.09 MB / 0.9948 GB Notification: Performance of SimCode: time 1.633e-06/0.6317, allocations: 0 / 1.169 GB, free: 29.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08008/0.7118, allocations: 56.48 MB / 1.224 GB, free: 5.625 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.893, allocations: 8 kB / 1.224 GB, free: 5.617 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.90014450903982]