Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 112.4 kB / 16.45 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 195.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.172/3.172, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 73.91 kB / 1.134 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 173.9 MB / 1.304 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02811/0.3712, allocations: 22.94 MB / 1.326 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.383, allocations: 6.287 MB / 1.333 GB, free: 4.371 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3852, allocations: 91.56 kB / 1.333 GB, free: 4.281 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004631/0.3899, allocations: 1.577 MB / 1.334 GB, free: 2.699 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.395, allocations: 1.727 MB / 1.336 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.3991, allocations: 1.348 MB / 1.337 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008134/0.4073, allocations: 5.931 MB / 1.343 GB, free: 9.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007803/0.4151, allocations: 4.479 MB / 1.347 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/0.42, allocations: 2.442 MB / 1.35 GB, free: 2.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005234/0.4252, allocations: 3.069 MB / 1.353 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.4267, allocations: 456 kB / 1.353 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.4298, allocations: 1.123 MB / 1.354 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003131/0.4329, allocations: 2.085 MB / 1.356 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003605/0.4365, allocations: 2.17 MB / 1.358 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008894/0.4454, allocations: 7.316 MB / 1.366 GB, free: 2.402 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4454, allocations: 0 / 1.366 GB, free: 2.402 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4454, allocations: 0 / 1.366 GB, free: 2.402 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001649/0.4456, allocations: 0 / 1.366 GB, free: 2.402 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008248/0.4538, allocations: 3.917 MB / 1.369 GB, free: 14.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4539, allocations: 8.625 kB / 1.369 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008063/0.4547, allocations: 0.5015 MB / 1.37 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006221/0.4609, allocations: 1.227 MB / 1.371 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/0.4668, allocations: 2.357 MB / 1.373 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.467, allocations: 246.4 kB / 1.374 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006903/0.4677, allocations: 311.9 kB / 1.374 GB, free: 9.707 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4779, allocations: 6.216 MB / 1.38 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.949e-05/0.4779, allocations: 11.88 kB / 1.38 GB, free: 3.223 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.4783, allocations: 143.9 kB / 1.38 GB, free: 3.082 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005077/0.4788, allocations: 402.3 kB / 1.38 GB, free: 2.688 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008819/0.4876, allocations: 4.662 MB / 1.385 GB, free: 14.02 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0379/0.5255, allocations: 28.99 MB / 1.413 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.5278, allocations: 1.388 MB / 1.415 GB, free: 12.92 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.53, allocations: 1.433 MB / 1.416 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.5301, allocations: 9 kB / 1.416 GB, free: 11.47 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.5302, allocations: 47.5 kB / 1.416 GB, free: 11.42 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/0.5302, allocations: 0 / 1.416 GB, free: 11.42 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1444/0.6746, allocations: 37.16 MB / 1.452 GB, free: 6.188 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.6747, allocations: 73.34 kB / 1.453 GB, free: 6.102 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.6772, allocations: 1.415 MB / 1.454 GB, free: 4.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.6775, allocations: 57.7 kB / 1.454 GB, free: 4.617 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.6788, allocations: 1.575 MB / 1.455 GB, free: 3.027 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/0.6796, allocations: 0.6468 MB / 1.456 GB, free: 2.375 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009084/0.6805, allocations: 383.5 kB / 1.456 GB, free: 1.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6806, allocations: 305.1 kB / 1.457 GB, free: 1.691 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/0.6835, allocations: 1.784 MB / 1.459 GB, free: 15.9 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/0.6868, allocations: 2.346 MB / 1.461 GB, free: 13.31 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006685/0.6935, allocations: 4.394 MB / 1.465 GB, free: 8.672 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/0.6935, allocations: 4 kB / 1.465 GB, free: 8.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01931/0.7128, allocations: 8.431 MB / 1.473 GB, free: 204 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.7129, allocations: 12 kB / 1.473 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.7129, allocations: 16 kB / 1.473 GB, free: 176 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/0.7288, allocations: 4.645 MB / 1.478 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.7301, allocations: 303.4 kB / 1.478 GB, free: 11.21 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05267/0.7827, allocations: 32.62 MB / 1.51 GB, free: 9.742 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.7848, allocations: 147.8 kB / 1.51 GB, free: 9.598 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/0.7852, allocations: 87.98 kB / 1.51 GB, free: 9.512 MB / 1.217 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002571/0.7878, allocations: 1.331 MB / 1.512 GB, free: 8.176 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.7883, allocations: 210.7 kB / 1.512 GB, free: 7.969 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/0.8069, allocations: 8.293 MB / 1.52 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/0.8069, allocations: 20 kB / 1.52 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/0.807, allocations: 31.88 kB / 1.52 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/0.807, allocations: 7.969 kB / 1.52 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02789/0.8349, allocations: 12.7 MB / 1.532 GB, free: 2.703 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/0.8349, allocations: 4 kB / 1.532 GB, free: 2.699 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.8358, allocations: 167.7 kB / 1.532 GB, free: 2.535 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01559/0.8514, allocations: 4.493 MB / 1.537 GB, free: 14.03 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000382/0.8518, allocations: 40.12 kB / 1.537 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05645/0.9082, allocations: 32.22 MB / 1.568 GB, free: 12.91 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.9082, allocations: 7.938 kB / 1.568 GB, free: 12.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/0.9263, allocations: 8.105 MB / 1.576 GB, free: 4.664 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.9283, allocations: 0.6245 MB / 1.577 GB, free: 4.02 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/0.9288, allocations: 43.98 kB / 1.577 GB, free: 3.977 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.9304, allocations: 127.8 kB / 1.577 GB, free: 3.852 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008058/0.9312, allocations: 176.9 kB / 1.577 GB, free: 3.676 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.9314, allocations: 48 kB / 1.577 GB, free: 3.629 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001686/0.9331, allocations: 0.9587 MB / 1.578 GB, free: 2.676 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9331, allocations: 4 kB / 1.578 GB, free: 2.672 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003703/0.9368, allocations: 1.113 MB / 1.579 GB, free: 1.559 MB / 1.279 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01836/0.9551, allocations: 8.704 MB / 1.588 GB, free: 8.715 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01745/0.9726, allocations: 6.308 MB / 1.594 GB, free: 2.332 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.9726, allocations: 0 / 1.594 GB, free: 2.332 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01495/0.9875, allocations: 4.194 MB / 1.598 GB, free: 14.05 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/0.9934, allocations: 0.5246 MB / 1.599 GB, free: 13.54 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7578/1.751, allocations: 33.43 MB / 1.631 GB, free: 284.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/1.754, allocations: 2.728 MB / 1.634 GB, free: 283.7 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001071/1.755, allocations: 383.5 kB / 1.634 GB, free: 283.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.756, allocations: 1.215 MB / 1.635 GB, free: 282.6 MB / 1.311 GB Notification: Performance of SimCode: time 9.82e-07/1.756, allocations: 1.344 kB / 1.635 GB, free: 282.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.881, allocations: 84.52 MB / 1.718 GB, free: 214.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/15.4, allocations: 7.922 kB / 1.718 GB, free: 214.8 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 22.45410528499633]