Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0008978/0.0008978, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008331/0.0008331, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8861/0.8861, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.737/1.737, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.151e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01585/0.01587, allocations: 21.83 MB / 1.021 GB, free: 7.582 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008743/0.02462, allocations: 6.394 MB / 1.027 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.02663, allocations: 131 kB / 1.027 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.02924, allocations: 1.518 MB / 1.029 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.0326, allocations: 1.994 MB / 1.031 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.03517, allocations: 1.471 MB / 1.032 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005921/0.04109, allocations: 7.024 MB / 1.039 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.04595, allocations: 3.731 MB / 1.043 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4225/0.4684, allocations: 4.015 MB / 1.047 GB, free: 54.22 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.4723, allocations: 3.395 MB / 1.05 GB, free: 54.22 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0008933/0.4732, allocations: 0.5272 MB / 1.05 GB, free: 54.22 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.4753, allocations: 1.13 MB / 1.052 GB, free: 54.22 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002334/0.4776, allocations: 2.662 MB / 1.054 GB, free: 54.22 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.4798, allocations: 1.759 MB / 1.056 GB, free: 54.18 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/0.4858, allocations: 8.684 MB / 1.064 GB, free: 53.68 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4858, allocations: 4.156 kB / 1.064 GB, free: 53.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4858, allocations: 0 / 1.064 GB, free: 53.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002008/0.486, allocations: 1.125 kB / 1.064 GB, free: 53.68 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006887/0.4929, allocations: 4.426 MB / 1.069 GB, free: 51.69 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4929, allocations: 12 kB / 1.069 GB, free: 51.69 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006805/0.4936, allocations: 0.5717 MB / 1.069 GB, free: 51.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.498, allocations: 1.708 MB / 1.071 GB, free: 51.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/0.5023, allocations: 2.671 MB / 1.074 GB, free: 49.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.5025, allocations: 278.6 kB / 1.074 GB, free: 49.83 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.5036, allocations: 363.6 kB / 1.074 GB, free: 49.72 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.5163, allocations: 7.712 MB / 1.082 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.508e-05/0.5164, allocations: 16.36 kB / 1.082 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.5167, allocations: 160.2 kB / 1.082 GB, free: 46.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004832/0.5172, allocations: 489.4 kB / 1.082 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009161/0.5264, allocations: 5.697 MB / 1.088 GB, free: 44.53 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.5504, allocations: 20.51 MB / 1.108 GB, free: 32.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.5526, allocations: 2.014 MB / 1.11 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.5548, allocations: 2.102 MB / 1.112 GB, free: 30.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.5549, allocations: 17.91 kB / 1.112 GB, free: 30.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.5549, allocations: 47.23 kB / 1.112 GB, free: 30.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=146): time 4.238e-06/0.5549, allocations: 3.938 kB / 1.112 GB, free: 30.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=251): time 0.1455/0.7004, allocations: 76.73 MB / 1.187 GB, free: 15.12 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.7005, allocations: 77.41 kB / 1.187 GB, free: 15.03 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.7023, allocations: 1.697 MB / 1.189 GB, free: 13.29 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0005071/0.7028, allocations: 65.7 kB / 1.189 GB, free: 13.22 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008262/0.7036, allocations: 1.794 MB / 1.19 GB, free: 11.41 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007658/0.7044, allocations: 0.8806 MB / 1.191 GB, free: 10.54 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006736/0.7051, allocations: 477.4 kB / 1.192 GB, free: 10.07 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.7052, allocations: 316.6 kB / 1.192 GB, free: 9.762 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.7079, allocations: 2.73 MB / 1.195 GB, free: 7.027 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.711, allocations: 3.331 MB / 1.198 GB, free: 3.453 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006253/0.7173, allocations: 6.391 MB / 1.204 GB, free: 12.89 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.7173, allocations: 12 kB / 1.204 GB, free: 12.88 MB / 1.042 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02033/0.7376, allocations: 14.4 MB / 1.218 GB, free: 14.73 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.7377, allocations: 20.06 kB / 1.218 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.7377, allocations: 18.27 kB / 1.218 GB, free: 14.69 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/0.7541, allocations: 9.202 MB / 1.227 GB, free: 5.484 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.7548, allocations: 306 kB / 1.228 GB, free: 5.207 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05067/0.8055, allocations: 51.02 MB / 1.277 GB, free: 1.59 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.8075, allocations: 219.7 kB / 1.278 GB, free: 1.375 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.8078, allocations: 100 kB / 1.278 GB, free: 1.277 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002467/0.8103, allocations: 1.588 MB / 1.279 GB, free: 15.68 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.8107, allocations: 254.6 kB / 1.28 GB, free: 15.43 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/0.8298, allocations: 14.47 MB / 1.294 GB, free: 0.9062 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.8298, allocations: 24 kB / 1.294 GB, free: 0.8828 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001244/0.83, allocations: 44 kB / 1.294 GB, free: 0.8398 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-05/0.83, allocations: 11.95 kB / 1.294 GB, free: 0.8281 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02638/0.8564, allocations: 19.53 MB / 1.313 GB, free: 13.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.8564, allocations: 12.03 kB / 1.313 GB, free: 13.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.8569, allocations: 163.8 kB / 1.313 GB, free: 12.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01622/0.8731, allocations: 8.975 MB / 1.322 GB, free: 3.98 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003983/0.8735, allocations: 44 kB / 1.322 GB, free: 3.938 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0505/0.924, allocations: 50.6 MB / 1.371 GB, free: 0.6602 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.924, allocations: 14.94 kB / 1.371 GB, free: 0.6484 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01964/0.9436, allocations: 14.08 MB / 1.385 GB, free: 2.43 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.9454, allocations: 0.7754 MB / 1.386 GB, free: 1.652 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/0.946, allocations: 48 kB / 1.386 GB, free: 1.605 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.9473, allocations: 215.7 kB / 1.386 GB, free: 1.395 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/0.9483, allocations: 249.1 kB / 1.386 GB, free: 1.152 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.9485, allocations: 64 kB / 1.386 GB, free: 1.09 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001282/0.9498, allocations: 1.133 MB / 1.387 GB, free: 15.93 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9498, allocations: 0 / 1.387 GB, free: 15.93 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.004317/0.9541, allocations: 1.613 MB / 1.389 GB, free: 14.32 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01949/0.9736, allocations: 14.69 MB / 1.403 GB, free: 15.48 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01425/0.9878, allocations: 10.18 MB / 1.413 GB, free: 5.289 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/0.9878, allocations: 4 kB / 1.413 GB, free: 5.285 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.00997/0.9978, allocations: 6.989 MB / 1.42 GB, free: 14.23 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1, allocations: 0.5559 MB / 1.421 GB, free: 13.69 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06839/1.069, allocations: 50.6 MB / 1.47 GB, free: 10.02 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/1.072, allocations: 2.677 MB / 1.473 GB, free: 7.297 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0008281/1.073, allocations: 391.3 kB / 1.473 GB, free: 6.91 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.074, allocations: 1.461 MB / 1.475 GB, free: 5.449 MB / 1.307 GB Notification: Performance of SimCode: time 1.843e-06/1.074, allocations: 0 / 1.475 GB, free: 5.449 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4958/1.57, allocations: 129.4 MB / 1.601 GB, free: 465.2 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.28/10.85, allocations: 7.547 kB / 1.601 GB, free: 465.2 MB / 1.401 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 15.228231904096901]