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.001257/0.001257, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001387/0.001387, allocations: 218.4 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.068/3.068, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.42 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02952/0.4031, allocations: 24.47 MB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.4163, allocations: 6.702 MB / 1.376 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.4191, allocations: 127.1 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005044/0.4241, allocations: 1.554 MB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.4295, allocations: 1.941 MB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.4337, allocations: 1.506 MB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009506/0.4432, allocations: 6.912 MB / 1.388 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007097/0.4503, allocations: 3.777 MB / 1.391 GB, free: 1.234 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.4559, allocations: 2.909 MB / 1.394 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006636/0.4625, allocations: 3.743 MB / 1.398 GB, free: 10.56 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001641/0.4642, allocations: 0.5273 MB / 1.398 GB, free: 10.04 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.4677, allocations: 1.194 MB / 1.399 GB, free: 8.84 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004256/0.472, allocations: 2.525 MB / 1.402 GB, free: 6.309 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005888/0.4779, allocations: 2.54 MB / 1.404 GB, free: 3.758 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.4906, allocations: 8.539 MB / 1.413 GB, free: 11.19 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4906, allocations: 4 kB / 1.413 GB, free: 11.19 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4906, allocations: 0 / 1.413 GB, free: 11.19 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002961/0.4909, allocations: 0 / 1.413 GB, free: 11.19 MB / 1.107 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.01293/0.5038, allocations: 4.472 MB / 1.417 GB, free: 6.66 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5039, allocations: 8.031 kB / 1.417 GB, free: 6.652 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001512/0.504, allocations: 99.55 kB / 1.417 GB, free: 6.555 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002194/0.5062, allocations: 0.5714 MB / 1.418 GB, free: 5.973 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00975/0.516, allocations: 1.707 MB / 1.419 GB, free: 4.262 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006376/0.5223, allocations: 2.661 MB / 1.422 GB, free: 1.555 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.5226, allocations: 275.7 kB / 1.422 GB, free: 1.285 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.5241, allocations: 368.2 kB / 1.423 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.5413, allocations: 7.49 MB / 1.43 GB, free: 9.168 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.5414, allocations: 7.938 kB / 1.43 GB, free: 9.16 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008871/0.5423, allocations: 163.9 kB / 1.43 GB, free: 9 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006565/0.543, allocations: 491.3 kB / 1.431 GB, free: 8.52 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.5551, allocations: 5.693 MB / 1.436 GB, free: 2.82 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04331/0.5984, allocations: 31.29 MB / 1.467 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.6016, allocations: 2.012 MB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/0.6049, allocations: 2.115 MB / 1.471 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.6051, allocations: 17.25 kB / 1.471 GB, free: 12.6 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.6051, allocations: 47.88 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/0.6051, allocations: 0 / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of matching and sorting (n=251): time 0.3101/0.9153, allocations: 76.72 MB / 1.546 GB, free: 15.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.9154, allocations: 81.34 kB / 1.546 GB, free: 15.61 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.918, allocations: 1.67 MB / 1.547 GB, free: 13.89 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000502/0.9186, allocations: 65.7 kB / 1.547 GB, free: 13.82 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.9199, allocations: 1.795 MB / 1.549 GB, free: 12.01 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.9211, allocations: 0.8946 MB / 1.55 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.9222, allocations: 481.4 kB / 1.551 GB, free: 10.63 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9223, allocations: 309.1 kB / 1.551 GB, free: 10.32 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004123/0.9265, allocations: 2.73 MB / 1.553 GB, free: 7.59 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0048/0.9313, allocations: 3.324 MB / 1.557 GB, free: 4.02 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009545/0.9408, allocations: 6.405 MB / 1.563 GB, free: 13.38 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.9408, allocations: 4 kB / 1.563 GB, free: 13.37 MB / 1.264 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0335/0.9743, allocations: 14.41 MB / 1.577 GB, free: 14.91 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.9744, allocations: 12 kB / 1.577 GB, free: 14.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.9744, allocations: 19.94 kB / 1.577 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03063/1.005, allocations: 9.243 MB / 1.586 GB, free: 5.609 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.006, allocations: 295.5 kB / 1.586 GB, free: 5.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.781/1.787, allocations: 51.78 MB / 1.637 GB, free: 227.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/1.791, allocations: 225.1 kB / 1.637 GB, free: 227.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/1.791, allocations: 100 kB / 1.637 GB, free: 227.4 MB / 1.295 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.002966/1.794, allocations: 1.584 MB / 1.639 GB, free: 226.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006057/1.795, allocations: 259.2 kB / 1.639 GB, free: 226.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02998/1.825, allocations: 14.47 MB / 1.653 GB, free: 222.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/1.825, allocations: 22.97 kB / 1.653 GB, free: 222.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001789/1.825, allocations: 44.78 kB / 1.653 GB, free: 222.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.512e-05/1.825, allocations: 15.22 kB / 1.653 GB, free: 222.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03552/1.86, allocations: 20.21 MB / 1.673 GB, free: 214.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.86, allocations: 7.5 kB / 1.673 GB, free: 214.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/1.861, allocations: 165.4 kB / 1.673 GB, free: 214 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02631/1.887, allocations: 9.006 MB / 1.682 GB, free: 205 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/1.888, allocations: 59.61 kB / 1.682 GB, free: 205 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06229/1.95, allocations: 51.34 MB / 1.732 GB, free: 153 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.95, allocations: 11.94 kB / 1.732 GB, free: 153 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02666/1.977, allocations: 14.1 MB / 1.746 GB, free: 138.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.979, allocations: 0.7826 MB / 1.747 GB, free: 138 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000706/1.98, allocations: 51.98 kB / 1.747 GB, free: 137.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.982, allocations: 207.7 kB / 1.747 GB, free: 137.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/1.983, allocations: 259 kB / 1.747 GB, free: 137.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.984, allocations: 64 kB / 1.747 GB, free: 137.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001276/1.985, allocations: 1.133 MB / 1.748 GB, free: 136.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.985, allocations: 0 / 1.748 GB, free: 136.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004821/1.99, allocations: 1.613 MB / 1.75 GB, free: 134.7 MB / 1.295 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.02657/2.016, allocations: 14.71 MB / 1.764 GB, free: 119.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02017/2.036, allocations: 10.2 MB / 1.774 GB, free: 109.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.036, allocations: 0 / 1.774 GB, free: 109.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01515/2.052, allocations: 7.018 MB / 1.781 GB, free: 102.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/2.055, allocations: 0.5599 MB / 1.782 GB, free: 102 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08279/2.137, allocations: 50.51 MB / 1.831 GB, free: 50.41 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/2.14, allocations: 3.224 MB / 1.834 GB, free: 47.16 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000948/2.141, allocations: 395.3 kB / 1.835 GB, free: 46.77 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/2.142, allocations: 1.464 MB / 1.836 GB, free: 45.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.032e-06/2.142, allocations: 0 / 1.836 GB, free: 45.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1941/2.336, allocations: 124.7 MB / 1.958 GB, free: 1.016 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/18.77, allocations: 12.03 kB / 1.958 GB, free: 1.004 MB / 1.373 GB " [Timeout remaining time 281] (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/jenkins1/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: 26.486658867972437]