Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0009229/0.0009229, 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.0009105/0.0009105, 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.9002/0.9002, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.644/1.644, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.478e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007073/0.007098, allocations: 9.497 MB / 0.9598 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.01072, allocations: 3.119 MB / 0.9628 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.01116, allocations: 43.69 kB / 0.9629 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.0121, allocations: 0.6139 MB / 0.9635 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.01315, allocations: 0.7887 MB / 0.9642 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.01416, allocations: 0.7543 MB / 0.965 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.01639, allocations: 3.042 MB / 0.968 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.01785, allocations: 1.412 MB / 0.9693 GB, free: 112 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.01963, allocations: 1.731 MB / 0.971 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.02115, allocations: 1.571 MB / 0.9726 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.02142, allocations: 236 kB / 0.9728 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.02204, allocations: 487.2 kB / 0.9732 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006464/0.02269, allocations: 1.154 MB / 0.9744 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.02334, allocations: 0.7913 MB / 0.9751 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.02563, allocations: 3.794 MB / 0.9788 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.02564, allocations: 0 / 0.9788 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.823e-06/0.02564, allocations: 0 / 0.9788 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.982e-05/0.0257, allocations: 0 / 0.9788 GB, free: 6.34 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002547/0.02825, allocations: 2.096 MB / 0.9809 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.02828, allocations: 12.03 kB / 0.9809 GB, free: 4.191 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.02851, allocations: 257.2 kB / 0.9812 GB, free: 3.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/0.03257, allocations: 1.357 MB / 0.9825 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.03395, allocations: 1.265 MB / 0.9837 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.034, allocations: 115.3 kB / 0.9838 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.0342, allocations: 148.3 kB / 0.984 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.03742, allocations: 3.512 MB / 0.9874 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.03745, allocations: 12.08 kB / 0.9874 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.0376, allocations: 64.09 kB / 0.9875 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.03775, allocations: 211.1 kB / 0.9877 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.041, allocations: 3.12 MB / 0.9907 GB, free: 9.988 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009191/0.05019, allocations: 10.06 MB / 1.001 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.05178, allocations: 1.615 MB / 1.002 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.05304, allocations: 1.342 MB / 1.003 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.765e-05/0.05311, allocations: 9 kB / 1.003 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.05313, allocations: 43.56 kB / 1.003 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=104): time 2.574e-06/0.05313, allocations: 0 / 1.003 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=183): time 0.06989/0.123, allocations: 36.19 MB / 1.039 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1231, allocations: 73.41 kB / 1.039 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.124, allocations: 1.073 MB / 1.04 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.1241, allocations: 57.7 kB / 1.04 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1245, allocations: 0.8014 MB / 1.041 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.1248, allocations: 0.6429 MB / 1.041 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/0.1253, allocations: 359.5 kB / 1.042 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.1253, allocations: 305.1 kB / 1.042 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.1271, allocations: 1.936 MB / 1.044 GB, free: 3.164 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.1291, allocations: 2.289 MB / 1.046 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.393/0.5221, allocations: 4.383 MB / 1.05 GB, free: 128 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.5221, allocations: 3 kB / 1.05 GB, free: 128 MB / 0.9948 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0105/0.5326, allocations: 8.879 MB / 1.059 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.5326, allocations: 8.531 kB / 1.059 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5326, allocations: 8.812 kB / 1.059 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00847/0.5411, allocations: 4.97 MB / 1.064 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.5415, allocations: 199.1 kB / 1.064 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03435/0.5759, allocations: 37.97 MB / 1.101 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.577, allocations: 107.5 kB / 1.101 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5771, allocations: 68.67 kB / 1.101 GB, free: 107.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009726/0.5781, allocations: 0.7981 MB / 1.102 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5782, allocations: 149.7 kB / 1.102 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.5908, allocations: 8.748 MB / 1.111 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.5908, allocations: 19.2 kB / 1.111 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-05/0.5908, allocations: 29.47 kB / 1.111 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.5909, allocations: 13.14 kB / 1.111 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.6068, allocations: 12.65 MB / 1.123 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.6069, allocations: 4.781 kB / 1.123 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.6071, allocations: 122.9 kB / 1.123 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008557/0.6157, allocations: 4.818 MB / 1.128 GB, free: 97.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6158, allocations: 35.75 kB / 1.128 GB, free: 97.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/0.6422, allocations: 35.92 MB / 1.163 GB, free: 66.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6423, allocations: 13.2 kB / 1.163 GB, free: 66.08 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00933/0.6516, allocations: 8.437 MB / 1.171 GB, free: 57.55 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.6523, allocations: 0.5808 MB / 1.172 GB, free: 56.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6524, allocations: 32 kB / 1.172 GB, free: 56.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/0.653, allocations: 91.89 kB / 1.172 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.6534, allocations: 178.3 kB / 1.172 GB, free: 56.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.6535, allocations: 48 kB / 1.172 GB, free: 56.62 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000522/0.654, allocations: 0.7343 MB / 1.173 GB, free: 55.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.654, allocations: 4 kB / 1.173 GB, free: 55.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001945/0.656, allocations: 1.008 MB / 1.174 GB, free: 54.87 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009702/0.6657, allocations: 9.033 MB / 1.183 GB, free: 45.74 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005164/0.6708, allocations: 5.74 MB / 1.189 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6708, allocations: 0 / 1.189 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003492/0.6743, allocations: 3.772 MB / 1.192 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.6751, allocations: 245.3 kB / 1.192 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/0.7046, allocations: 30.87 MB / 1.223 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.7055, allocations: 1.271 MB / 1.224 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004171/0.7059, allocations: 360.9 kB / 1.224 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.7063, allocations: 0.6096 MB / 1.225 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of SimCode: time 1.012e-06/0.7063, allocations: 0 / 1.225 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07686/0.7831, allocations: 80.84 MB / 1.304 GB, free: 1.562 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.882, allocations: 4.062 kB / 1.304 GB, free: 1.559 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.903766381554306]