Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001366/0.001366, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001488/0.001488, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_RLC_N,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",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.00208/0.00208, allocations: 69.56 kB / 1.153 GB, free: 25.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3105, allocations: 176.1 MB / 1.325 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0128/0.3233, allocations: 9.639 MB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006057/0.3293, allocations: 3.158 MB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.33, allocations: 47.62 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3318, allocations: 0.601 MB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.3337, allocations: 0.7857 MB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3354, allocations: 0.7408 MB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003479/0.3388, allocations: 2.992 MB / 1.343 GB, free: 480 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.3411, allocations: 1.412 MB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.3432, allocations: 1.293 MB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.3461, allocations: 1.636 MB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00046/0.3466, allocations: 236 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3477, allocations: 475.4 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.349, allocations: 1.099 MB / 1.349 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.3504, allocations: 0.9143 MB / 1.35 GB, free: 9.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.3544, allocations: 3.715 MB / 1.353 GB, free: 5.633 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3545, allocations: 0 / 1.353 GB, free: 5.633 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3545, allocations: 4 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.943e-05/0.3545, allocations: 0 / 1.353 GB, free: 5.629 MB / 1.045 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.004789/0.3593, allocations: 2.123 MB / 1.355 GB, free: 3.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3594, allocations: 12.03 kB / 1.355 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004149/0.3598, allocations: 261.2 kB / 1.355 GB, free: 3.188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009065/0.3688, allocations: 1.322 MB / 1.357 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.3719, allocations: 1.262 MB / 1.358 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.372, allocations: 115.4 kB / 1.358 GB, free: 476 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.3724, allocations: 148.3 kB / 1.358 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005567/0.3779, allocations: 3.523 MB / 1.362 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.378, allocations: 7.938 kB / 1.362 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.3782, allocations: 63.97 kB / 1.362 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002784/0.3785, allocations: 207.1 kB / 1.362 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/0.3836, allocations: 3.112 MB / 1.365 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.4007, allocations: 10.07 MB / 1.375 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.4033, allocations: 1.612 MB / 1.376 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.4053, allocations: 1.327 MB / 1.378 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.082e-05/0.4054, allocations: 13 kB / 1.378 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4055, allocations: 51.5 kB / 1.378 GB, free: 12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.4055, allocations: 0 / 1.378 GB, free: 12 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1556/0.5611, allocations: 36.19 MB / 1.413 GB, free: 7.758 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.5611, allocations: 73.41 kB / 1.413 GB, free: 7.672 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.5627, allocations: 1.069 MB / 1.414 GB, free: 6.578 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.5629, allocations: 57.7 kB / 1.414 GB, free: 6.516 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.5635, allocations: 0.8131 MB / 1.415 GB, free: 5.691 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006442/0.5642, allocations: 0.6584 MB / 1.416 GB, free: 5.027 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007702/0.565, allocations: 363.5 kB / 1.416 GB, free: 4.668 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5651, allocations: 305.1 kB / 1.416 GB, free: 4.367 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/0.568, allocations: 1.928 MB / 1.418 GB, free: 2.438 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.5712, allocations: 2.289 MB / 1.42 GB, free: 20 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006282/0.5774, allocations: 4.391 MB / 1.425 GB, free: 11.51 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.5775, allocations: 4 kB / 1.425 GB, free: 11.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02169/0.5991, allocations: 8.871 MB / 1.433 GB, free: 2.605 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.5992, allocations: 8.656 kB / 1.433 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.5992, allocations: 16 kB / 1.433 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01805/0.6172, allocations: 4.982 MB / 1.438 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.6181, allocations: 187.7 kB / 1.438 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06301/0.6812, allocations: 37.98 MB / 1.476 GB, free: 6.941 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.6832, allocations: 103.9 kB / 1.476 GB, free: 6.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.6835, allocations: 71.98 kB / 1.476 GB, free: 6.77 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.001361/0.6848, allocations: 0.8056 MB / 1.477 GB, free: 5.953 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.6852, allocations: 143.1 kB / 1.477 GB, free: 5.812 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02156/0.7067, allocations: 8.738 MB / 1.485 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.7067, allocations: 20 kB / 1.485 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.032e-05/0.7068, allocations: 28 kB / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/0.7069, allocations: 11.91 kB / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/0.7355, allocations: 12.66 MB / 1.498 GB, free: 196 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/0.7355, allocations: 4.031 kB / 1.498 GB, free: 192 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.736, allocations: 123.8 kB / 1.498 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/0.7536, allocations: 4.827 MB / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/0.7539, allocations: 32 kB / 1.502 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06008/0.814, allocations: 35.92 MB / 1.538 GB, free: 6.789 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.814, allocations: 7.938 kB / 1.538 GB, free: 6.781 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0209/0.8349, allocations: 8.452 MB / 1.546 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.8367, allocations: 0.5808 MB / 1.546 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.837, allocations: 36 kB / 1.546 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.8384, allocations: 91.88 kB / 1.547 GB, free: 13.53 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008726/0.8393, allocations: 169.5 kB / 1.547 GB, free: 13.37 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.8394, allocations: 48 kB / 1.547 GB, free: 13.32 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001134/0.8406, allocations: 0.7343 MB / 1.547 GB, free: 12.57 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.8406, allocations: 0 / 1.547 GB, free: 12.57 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002962/0.8435, allocations: 1.004 MB / 1.548 GB, free: 11.57 MB / 1.248 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.02093/0.8645, allocations: 9.039 MB / 1.557 GB, free: 2.434 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01098/0.8754, allocations: 5.74 MB / 1.563 GB, free: 12.64 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.8754, allocations: 0 / 1.563 GB, free: 12.64 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008762/0.8842, allocations: 3.781 MB / 1.567 GB, free: 8.809 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.8858, allocations: 242.3 kB / 1.567 GB, free: 8.578 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06311/0.9489, allocations: 30.84 MB / 1.597 GB, free: 9.203 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.9507, allocations: 1.271 MB / 1.598 GB, free: 7.895 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009073/0.9516, allocations: 359.4 kB / 1.598 GB, free: 7.539 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/0.9524, allocations: 0.6086 MB / 1.599 GB, free: 6.93 MB / 1.295 GB Notification: Performance of SimCode: time 9.82e-07/0.9524, allocations: 0 / 1.599 GB, free: 6.93 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7424/1.695, allocations: 80.66 MB / 1.678 GB, free: 225.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.92, allocations: 11.61 kB / 1.678 GB, free: 225.7 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.809937824960798]