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.001915/0.001915, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.002185/0.002185, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.97/2.97, allocations: 0.5003 GB / 0.8026 GB, free: 6.758 MB / 0.6387 GB " [Timeout remaining time 176] 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.001983/0.001983, allocations: 67.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9066/0.9085, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02287/0.9314, allocations: 23.78 MB / 1.363 GB, free: 68 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.9438, allocations: 6.579 MB / 1.37 GB, free: 11.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.946, allocations: 130.6 kB / 1.37 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.9504, allocations: 1.537 MB / 1.371 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.9555, allocations: 1.925 MB / 1.373 GB, free: 9.441 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.9595, allocations: 1.47 MB / 1.375 GB, free: 8.645 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009037/0.9685, allocations: 6.912 MB / 1.381 GB, free: 5.652 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008174/0.9767, allocations: 5.189 MB / 1.387 GB, free: 3.609 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005922/0.9826, allocations: 2.915 MB / 1.389 GB, free: 2.324 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006879/0.9895, allocations: 3.744 MB / 1.393 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.991, allocations: 0.5276 MB / 1.394 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.9944, allocations: 1.195 MB / 1.395 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004073/0.9985, allocations: 2.525 MB / 1.397 GB, free: 15.64 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00565/1.004, allocations: 2.536 MB / 1.4 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/1.018, allocations: 8.543 MB / 1.408 GB, free: 8.949 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.018, allocations: 1.156 kB / 1.408 GB, free: 8.949 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.543e-06/1.018, allocations: 0 / 1.408 GB, free: 8.949 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000222/1.018, allocations: 4 kB / 1.408 GB, free: 8.945 MB / 1.092 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.01242/1.03, allocations: 4.54 MB / 1.412 GB, free: 5.82 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.03, allocations: 9.938 kB / 1.412 GB, free: 5.82 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001526/1.03, allocations: 99.23 kB / 1.413 GB, free: 5.812 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001392/1.032, allocations: 0.5755 MB / 1.413 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009674/1.041, allocations: 1.709 MB / 1.415 GB, free: 4.52 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/1.048, allocations: 2.708 MB / 1.417 GB, free: 2.793 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/1.048, allocations: 270.7 kB / 1.418 GB, free: 2.672 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/1.05, allocations: 364.4 kB / 1.418 GB, free: 2.547 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/1.066, allocations: 7.497 MB / 1.425 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/1.066, allocations: 13.59 kB / 1.425 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007751/1.067, allocations: 157 kB / 1.426 GB, free: 13.92 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006571/1.068, allocations: 486.5 kB / 1.426 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/1.079, allocations: 5.698 MB / 1.432 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04569/1.125, allocations: 31.55 MB / 1.462 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/1.129, allocations: 2.018 MB / 1.464 GB, free: 6.195 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/1.132, allocations: 2.108 MB / 1.466 GB, free: 4.09 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.133, allocations: 17.31 kB / 1.466 GB, free: 4.07 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.133, allocations: 47.81 kB / 1.466 GB, free: 4.016 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.267e-06/1.133, allocations: 4 kB / 1.466 GB, free: 4.012 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3326/1.465, allocations: 76.79 MB / 1.541 GB, free: 7.074 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/1.465, allocations: 81.34 kB / 1.542 GB, free: 6.984 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/1.468, allocations: 1.67 MB / 1.543 GB, free: 5.27 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/1.469, allocations: 65.7 kB / 1.543 GB, free: 5.199 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.47, allocations: 1.792 MB / 1.545 GB, free: 3.395 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.472, allocations: 0.8985 MB / 1.546 GB, free: 2.488 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/1.473, allocations: 489.4 kB / 1.546 GB, free: 2.004 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.473, allocations: 301.1 kB / 1.547 GB, free: 1.707 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/1.478, allocations: 2.73 MB / 1.549 GB, free: 14.97 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/1.483, allocations: 3.336 MB / 1.553 GB, free: 11.39 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.493, allocations: 6.389 MB / 1.559 GB, free: 4.758 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/1.493, allocations: 8 kB / 1.559 GB, free: 4.75 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03719/1.53, allocations: 14.41 MB / 1.573 GB, free: 6.293 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/1.53, allocations: 15.98 kB / 1.573 GB, free: 6.277 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.53, allocations: 20.03 kB / 1.573 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03331/1.564, allocations: 9.239 MB / 1.582 GB, free: 12.99 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.565, allocations: 299.4 kB / 1.582 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09743/1.663, allocations: 52.41 MB / 1.633 GB, free: 7.422 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/1.666, allocations: 219.7 kB / 1.634 GB, free: 7.207 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/1.666, allocations: 96 kB / 1.634 GB, free: 7.113 MB / 1.311 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.003628/1.67, allocations: 1.588 MB / 1.635 GB, free: 5.516 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007903/1.671, allocations: 262.5 kB / 1.635 GB, free: 5.258 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0368/1.708, allocations: 14.48 MB / 1.65 GB, free: 6.723 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.708, allocations: 24 kB / 1.65 GB, free: 6.699 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000168/1.708, allocations: 44 kB / 1.65 GB, free: 6.656 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/1.708, allocations: 11.95 kB / 1.65 GB, free: 6.645 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0495/1.757, allocations: 20.23 MB / 1.669 GB, free: 2.211 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/1.757, allocations: 8.156 kB / 1.669 GB, free: 2.203 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/1.758, allocations: 167.6 kB / 1.67 GB, free: 2.039 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03213/1.79, allocations: 8.999 MB / 1.678 GB, free: 9.012 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006763/1.791, allocations: 48 kB / 1.678 GB, free: 8.965 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09236/1.883, allocations: 51.97 MB / 1.729 GB, free: 4.109 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.883, allocations: 12.11 kB / 1.729 GB, free: 4.098 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03576/1.919, allocations: 14.1 MB / 1.743 GB, free: 5.848 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/1.921, allocations: 0.8585 MB / 1.744 GB, free: 4.969 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/1.922, allocations: 52 kB / 1.744 GB, free: 4.918 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.924, allocations: 207.7 kB / 1.744 GB, free: 4.715 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/1.926, allocations: 245.4 kB / 1.744 GB, free: 4.477 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/1.926, allocations: 64 kB / 1.744 GB, free: 4.414 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001836/1.928, allocations: 1.125 MB / 1.745 GB, free: 3.266 MB / 1.42 GB Notification: Performance of sort global known variables: time 1.1e-07/1.928, allocations: 0 / 1.745 GB, free: 3.266 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.005266/1.933, allocations: 1.609 MB / 1.747 GB, free: 1.656 MB / 1.42 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.03576/1.969, allocations: 14.7 MB / 1.761 GB, free: 2.809 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.03794/2.007, allocations: 10.2 MB / 1.771 GB, free: 8.535 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.007, allocations: 0 / 1.771 GB, free: 8.535 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.02459/2.031, allocations: 7.012 MB / 1.778 GB, free: 1.445 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/2.036, allocations: 0.5652 MB / 1.779 GB, free: 0.8867 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1169/2.152, allocations: 50.4 MB / 1.828 GB, free: 13.4 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004735/2.157, allocations: 3.216 MB / 1.831 GB, free: 10.14 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.001151/2.158, allocations: 391.3 kB / 1.831 GB, free: 9.758 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/2.16, allocations: 1.468 MB / 1.833 GB, free: 8.289 MB / 1.514 GB Notification: Performance of SimCode: time 1.203e-06/2.16, allocations: 4 kB / 1.833 GB, free: 8.285 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8971/3.057, allocations: 121.8 MB / 1.952 GB, free: 451.5 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/18.25, allocations: 12.59 kB / 1.952 GB, free: 451.5 MB / 1.545 GB " [Timeout remaining time 282] (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: 25.76820597203914]