Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001932/0.001932, allocations: 111 kB / 16.46 MB, free: 6.504 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.002242/0.002242, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.116/3.116, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] 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_RLC_N,fileNamePrefix="Buildings_latest_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_latest_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 0.002008/0.002008, allocations: 63.98 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2955, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01444/0.3099, allocations: 10.21 MB / 1.314 GB, free: 7.289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006741/0.3167, allocations: 3.209 MB / 1.317 GB, free: 4.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.3176, allocations: 39.81 kB / 1.317 GB, free: 4.031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.3196, allocations: 0.6138 MB / 1.318 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.3217, allocations: 0.774 MB / 1.318 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.3235, allocations: 0.7407 MB / 1.319 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.3277, allocations: 2.992 MB / 1.322 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.331, allocations: 1.962 MB / 1.324 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.3335, allocations: 1.266 MB / 1.325 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.3364, allocations: 1.702 MB / 1.327 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000711/0.3371, allocations: 236 kB / 1.327 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.3386, allocations: 0.5111 MB / 1.328 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.3402, allocations: 1.095 MB / 1.329 GB, free: 8.074 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.3424, allocations: 1.116 MB / 1.33 GB, free: 6.953 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.3471, allocations: 3.695 MB / 1.333 GB, free: 3.246 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3472, allocations: 0 / 1.333 GB, free: 3.246 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3472, allocations: 0 / 1.333 GB, free: 3.246 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.192e-05/0.3472, allocations: 0 / 1.333 GB, free: 3.246 MB / 1.029 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.00469/0.3519, allocations: 2.19 MB / 1.336 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.352, allocations: 12.92 kB / 1.336 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003652/0.3523, allocations: 261.2 kB / 1.336 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008602/0.3609, allocations: 1.33 MB / 1.337 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.3645, allocations: 1.303 MB / 1.338 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3646, allocations: 115.4 kB / 1.339 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005155/0.3651, allocations: 148.3 kB / 1.339 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005775/0.3709, allocations: 3.44 MB / 1.342 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.3709, allocations: 4 kB / 1.342 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.3712, allocations: 63.97 kB / 1.342 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002645/0.3714, allocations: 211.1 kB / 1.342 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005223/0.3766, allocations: 3.127 MB / 1.345 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.3963, allocations: 13.57 MB / 1.359 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.3989, allocations: 1.618 MB / 1.36 GB, free: 6.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.4009, allocations: 1.327 MB / 1.361 GB, free: 5.445 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.514e-05/0.401, allocations: 17 kB / 1.361 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4011, allocations: 39.56 kB / 1.362 GB, free: 5.379 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/0.4011, allocations: 0 / 1.362 GB, free: 5.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=183): time 0.1382/0.5393, allocations: 36.56 MB / 1.397 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.5394, allocations: 69.41 kB / 1.397 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.5412, allocations: 1.058 MB / 1.398 GB, free: 15.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.5415, allocations: 53.7 kB / 1.398 GB, free: 15.46 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/0.5421, allocations: 0.8132 MB / 1.399 GB, free: 14.63 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007769/0.5429, allocations: 0.6468 MB / 1.4 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008926/0.5438, allocations: 367.5 kB / 1.4 GB, free: 13.62 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5439, allocations: 301.1 kB / 1.4 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/0.547, allocations: 1.932 MB / 1.402 GB, free: 11.39 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.5503, allocations: 2.292 MB / 1.405 GB, free: 8.965 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006505/0.5568, allocations: 4.391 MB / 1.409 GB, free: 4.449 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.5568, allocations: 0 / 1.409 GB, free: 4.449 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02089/0.5777, allocations: 8.873 MB / 1.418 GB, free: 11.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.5777, allocations: 8.656 kB / 1.418 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.5778, allocations: 16 kB / 1.418 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01717/0.5949, allocations: 4.974 MB / 1.422 GB, free: 6.535 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.5959, allocations: 191.7 kB / 1.423 GB, free: 6.348 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06448/0.6603, allocations: 38.94 MB / 1.461 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.6622, allocations: 103.9 kB / 1.461 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/0.6626, allocations: 68 kB / 1.461 GB, free: 14.66 MB / 1.17 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.001612/0.6642, allocations: 0.7997 MB / 1.462 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/0.6646, allocations: 151 kB / 1.462 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/0.6849, allocations: 8.734 MB / 1.47 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.6849, allocations: 20 kB / 1.47 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.369e-05/0.685, allocations: 32 kB / 1.47 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/0.6851, allocations: 15.95 kB / 1.47 GB, free: 4.867 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/0.7145, allocations: 13.25 MB / 1.483 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/0.7146, allocations: 4 kB / 1.483 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.7151, allocations: 119.8 kB / 1.483 GB, free: 7.336 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01658/0.7317, allocations: 4.837 MB / 1.488 GB, free: 2.484 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/0.732, allocations: 36 kB / 1.488 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06085/0.7929, allocations: 36.85 MB / 1.524 GB, free: 13.01 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.7929, allocations: 11.88 kB / 1.524 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/0.8137, allocations: 8.444 MB / 1.532 GB, free: 4.465 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/0.8157, allocations: 0.6444 MB / 1.533 GB, free: 3.801 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004936/0.8162, allocations: 36 kB / 1.533 GB, free: 3.766 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.8176, allocations: 95.81 kB / 1.533 GB, free: 3.672 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008281/0.8184, allocations: 165.6 kB / 1.533 GB, free: 3.512 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.8186, allocations: 51.94 kB / 1.533 GB, free: 3.461 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001199/0.8198, allocations: 0.7343 MB / 1.534 GB, free: 2.715 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.8198, allocations: 4 kB / 1.534 GB, free: 2.711 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003407/0.8232, allocations: 1 MB / 1.535 GB, free: 1.711 MB / 1.232 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.02001/0.8432, allocations: 9.051 MB / 1.544 GB, free: 8.562 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01178/0.855, allocations: 5.736 MB / 1.549 GB, free: 2.773 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.855, allocations: 4.062 kB / 1.549 GB, free: 2.77 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008641/0.8637, allocations: 3.78 MB / 1.553 GB, free: 14.94 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.8657, allocations: 240.5 kB / 1.553 GB, free: 14.7 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06487/0.9305, allocations: 30.78 MB / 1.583 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.933, allocations: 1.866 MB / 1.585 GB, free: 13.49 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009607/0.9339, allocations: 351.4 kB / 1.586 GB, free: 13.14 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009227/0.9349, allocations: 0.6086 MB / 1.586 GB, free: 12.53 MB / 1.295 GB Notification: Performance of SimCode: time 1.402e-06/0.9349, allocations: 0 / 1.586 GB, free: 12.53 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7271/1.662, allocations: 76.72 MB / 1.661 GB, free: 277.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.3, allocations: 11.03 kB / 1.661 GB, free: 277.4 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.9951442880556]