Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0008276/0.0008276, 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.0007992/0.0007992, 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.8454/0.8454, allocations: 177.2 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.72/1.72, allocations: 377.8 MB / 0.6221 GB, free: 8.688 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.356e-05, allocations: 2.281 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01386/0.01387, allocations: 19.14 MB / 0.9997 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00749/0.02136, allocations: 6.394 MB / 1.006 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/0.02221, allocations: 115.1 kB / 1.006 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.02455, allocations: 2.256 MB / 1.008 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.02609, allocations: 1.274 MB / 1.009 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.02786, allocations: 1.3 MB / 1.011 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.03085, allocations: 4.95 MB / 1.016 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.03366, allocations: 3.162 MB / 1.019 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.03595, allocations: 3.013 MB / 1.022 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.03769, allocations: 2.186 MB / 1.024 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.03803, allocations: 428 kB / 1.024 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.03932, allocations: 0.9592 MB / 1.025 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0009386/0.04026, allocations: 1.777 MB / 1.027 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0009062/0.04117, allocations: 1.341 MB / 1.028 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.04503, allocations: 6.646 MB / 1.035 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.04503, allocations: 4 kB / 1.035 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.04503, allocations: 0 / 1.035 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.307e-05/0.04508, allocations: 0 / 1.035 GB, free: 11.45 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00338/0.04846, allocations: 3.427 MB / 1.038 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.04849, allocations: 8.031 kB / 1.038 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003715/0.04886, allocations: 458.5 kB / 1.038 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.0509, allocations: 0.6701 MB / 1.039 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.05295, allocations: 1.985 MB / 1.041 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.43e-05/0.05305, allocations: 222.3 kB / 1.041 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.05333, allocations: 296.2 kB / 1.041 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4025/0.4558, allocations: 5.245 MB / 1.047 GB, free: 71.38 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/0.4559, allocations: 9.453 kB / 1.047 GB, free: 71.38 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.4561, allocations: 128 kB / 1.047 GB, free: 71.38 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.4563, allocations: 231.8 kB / 1.047 GB, free: 71.38 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.4599, allocations: 3.747 MB / 1.051 GB, free: 71.34 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008714/0.4686, allocations: 13.56 MB / 1.064 GB, free: 65.77 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.4696, allocations: 1.223 MB / 1.065 GB, free: 65.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000757/0.4703, allocations: 0.9841 MB / 1.066 GB, free: 64.97 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.4704, allocations: 16.06 kB / 1.066 GB, free: 64.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.4704, allocations: 48.59 kB / 1.066 GB, free: 64.92 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.4704, allocations: 0 / 1.066 GB, free: 64.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138): time 0.0111/0.4815, allocations: 8.415 MB / 1.074 GB, free: 62.56 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.4815, allocations: 64.16 kB / 1.074 GB, free: 62.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.4824, allocations: 1.162 MB / 1.076 GB, free: 62.04 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.4824, allocations: 51.05 kB / 1.076 GB, free: 61.99 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.4828, allocations: 1.33 MB / 1.077 GB, free: 61.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.4829, allocations: 0.495 MB / 1.077 GB, free: 60.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.4832, allocations: 289.5 kB / 1.078 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.828e-05/0.4833, allocations: 305.9 kB / 1.078 GB, free: 60.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.4843, allocations: 0.9102 MB / 1.079 GB, free: 60.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/0.4853, allocations: 1.33 MB / 1.08 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.4872, allocations: 2.421 MB / 1.082 GB, free: 57.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4872, allocations: 4.5 kB / 1.082 GB, free: 57.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003423/0.4906, allocations: 3.436 MB / 1.086 GB, free: 56.65 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4907, allocations: 11.44 kB / 1.086 GB, free: 56.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4907, allocations: 11.56 kB / 1.086 GB, free: 56.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.4924, allocations: 1.175 MB / 1.087 GB, free: 56.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.4929, allocations: 261.2 kB / 1.087 GB, free: 56.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.5031, allocations: 13.34 MB / 1.1 GB, free: 48.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.5037, allocations: 92.48 kB / 1.1 GB, free: 48.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.5037, allocations: 62.75 kB / 1.1 GB, free: 48.33 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.5049, allocations: 1.113 MB / 1.101 GB, free: 47.83 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.5051, allocations: 172.4 kB / 1.102 GB, free: 47.74 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.5085, allocations: 3.138 MB / 1.105 GB, free: 46.51 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5085, allocations: 17.62 kB / 1.105 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.5085, allocations: 12.88 kB / 1.105 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5085, allocations: 7.828 kB / 1.105 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/0.5147, allocations: 5.894 MB / 1.111 GB, free: 44.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5148, allocations: 10.19 kB / 1.111 GB, free: 44.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.5151, allocations: 152.4 kB / 1.111 GB, free: 44.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.5167, allocations: 1.062 MB / 1.112 GB, free: 43.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/0.5167, allocations: 26.61 kB / 1.112 GB, free: 43.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009678/0.5264, allocations: 13.05 MB / 1.124 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5264, allocations: 4.688 kB / 1.124 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.5297, allocations: 3.109 MB / 1.128 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.5302, allocations: 364.8 kB / 1.128 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5303, allocations: 35.55 kB / 1.128 GB, free: 34.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.5308, allocations: 84.33 kB / 1.128 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.531, allocations: 129.4 kB / 1.128 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.5311, allocations: 42.05 kB / 1.128 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007837/0.5319, allocations: 0.7642 MB / 1.129 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5319, allocations: 0 / 1.129 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001543/0.5334, allocations: 0.6611 MB / 1.13 GB, free: 34.01 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003396/0.5368, allocations: 3.697 MB / 1.133 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003207/0.54, allocations: 3.016 MB / 1.136 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.54, allocations: 1.031 kB / 1.136 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.5418, allocations: 1.87 MB / 1.138 GB, free: 29.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.543, allocations: 0.4984 MB / 1.138 GB, free: 29.72 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.5621, allocations: 19.22 MB / 1.157 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.5635, allocations: 1.767 MB / 1.159 GB, free: 20.39 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0006893/0.5642, allocations: 354.9 kB / 1.159 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/0.5648, allocations: 1.006 MB / 1.16 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of SimCode: time 7.92e-07/0.5648, allocations: 0 / 1.16 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/0.6229, allocations: 55.88 MB / 1.215 GB, free: 15.56 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.366, allocations: 15.77 kB / 1.215 GB, free: 15.55 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.492569924332201]