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.001611/0.001611, allocations: 110.1 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.001256/0.001256, allocations: 220.3 kB / 23.05 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8 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 2.999/2.999, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="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: 62.59 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01288/0.3537, allocations: 10.52 MB / 1.337 GB, free: 7.441 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006052/0.3598, allocations: 3.287 MB / 1.34 GB, free: 4.145 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.3607, allocations: 51.62 kB / 1.34 GB, free: 4.094 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.3625, allocations: 0.6257 MB / 1.341 GB, free: 3.465 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3644, allocations: 0.7779 MB / 1.342 GB, free: 2.684 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3661, allocations: 0.7523 MB / 1.342 GB, free: 1.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00364/0.3698, allocations: 2.996 MB / 1.345 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.3719, allocations: 1.423 MB / 1.347 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.3739, allocations: 1.289 MB / 1.348 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.3765, allocations: 1.698 MB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004596/0.377, allocations: 236 kB / 1.35 GB, free: 10.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.3781, allocations: 0.511 MB / 1.35 GB, free: 9.715 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.3792, allocations: 1.099 MB / 1.351 GB, free: 8.613 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.3806, allocations: 1.113 MB / 1.352 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.3846, allocations: 3.699 MB / 1.356 GB, free: 3.785 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3846, allocations: 0 / 1.356 GB, free: 3.785 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3846, allocations: 0 / 1.356 GB, free: 3.785 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.552e-05/0.3847, allocations: 0 / 1.356 GB, free: 3.785 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.004823/0.3895, allocations: 2.119 MB / 1.358 GB, free: 1.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3896, allocations: 8.031 kB / 1.358 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.703e-05/0.3896, allocations: 43.2 kB / 1.358 GB, free: 1.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003674/0.39, allocations: 261.2 kB / 1.358 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008734/0.3987, allocations: 1.322 MB / 1.36 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.4017, allocations: 1.265 MB / 1.361 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.4018, allocations: 119.3 kB / 1.361 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.4022, allocations: 144.3 kB / 1.361 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005749/0.408, allocations: 3.444 MB / 1.365 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.408, allocations: 0 / 1.365 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.4082, allocations: 67.97 kB / 1.365 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002644/0.4085, allocations: 203.1 kB / 1.365 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005168/0.4136, allocations: 3.124 MB / 1.368 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.4326, allocations: 13.47 MB / 1.381 GB, free: 9.152 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.4352, allocations: 1.619 MB / 1.383 GB, free: 7.527 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.4372, allocations: 1.327 MB / 1.384 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.455e-05/0.4373, allocations: 9 kB / 1.384 GB, free: 6.184 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4374, allocations: 43.56 kB / 1.384 GB, free: 6.133 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.4374, allocations: 7.938 kB / 1.384 GB, free: 6.125 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1519/0.5892, allocations: 36.19 MB / 1.419 GB, free: 1.895 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.5893, allocations: 73.41 kB / 1.419 GB, free: 1.809 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.591, allocations: 1.058 MB / 1.42 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.5914, allocations: 53.7 kB / 1.42 GB, free: 0.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.592, allocations: 0.8056 MB / 1.421 GB, free: 15.85 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007911/0.5928, allocations: 0.6585 MB / 1.422 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009429/0.5937, allocations: 363.5 kB / 1.422 GB, free: 14.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5938, allocations: 305.1 kB / 1.423 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/0.5968, allocations: 1.932 MB / 1.424 GB, free: 12.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/0.6, allocations: 2.285 MB / 1.427 GB, free: 10.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006371/0.6064, allocations: 4.391 MB / 1.431 GB, free: 5.668 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.6064, allocations: 3.75 kB / 1.431 GB, free: 5.668 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02111/0.6275, allocations: 8.879 MB / 1.44 GB, free: 12.76 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.6275, allocations: 13.88 kB / 1.44 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.6275, allocations: 11.98 kB / 1.44 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/0.6451, allocations: 4.967 MB / 1.444 GB, free: 7.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.646, allocations: 199.6 kB / 1.445 GB, free: 7.555 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06186/0.7079, allocations: 38.53 MB / 1.482 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.7099, allocations: 103.9 kB / 1.482 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/0.7103, allocations: 67.94 kB / 1.482 GB, free: 388 kB / 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.00165/0.7119, allocations: 0.8018 MB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/0.7124, allocations: 151.1 kB / 1.483 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02111/0.7335, allocations: 8.737 MB / 1.492 GB, free: 6.641 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.7335, allocations: 20 kB / 1.492 GB, free: 6.621 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.7336, allocations: 28 kB / 1.492 GB, free: 6.594 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.019e-05/0.7337, allocations: 11.91 kB / 1.492 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/0.7632, allocations: 13.23 MB / 1.505 GB, free: 9.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/0.7632, allocations: 7.938 kB / 1.505 GB, free: 9.195 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.7637, allocations: 115.9 kB / 1.505 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01765/0.7814, allocations: 4.847 MB / 1.51 GB, free: 4.219 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/0.7818, allocations: 32 kB / 1.51 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05991/0.8417, allocations: 36.47 MB / 1.545 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.8417, allocations: 7.938 kB / 1.545 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/0.8627, allocations: 8.448 MB / 1.554 GB, free: 6.688 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.8645, allocations: 0.5886 MB / 1.554 GB, free: 6.098 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/0.865, allocations: 32 kB / 1.554 GB, free: 6.066 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.8668, allocations: 87.89 kB / 1.554 GB, free: 5.98 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009373/0.8677, allocations: 181.5 kB / 1.554 GB, free: 5.805 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/0.8679, allocations: 44 kB / 1.555 GB, free: 5.762 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001244/0.8692, allocations: 0.7343 MB / 1.555 GB, free: 5.016 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8692, allocations: 0 / 1.555 GB, free: 5.016 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003645/0.8728, allocations: 1.008 MB / 1.556 GB, free: 4.008 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.02076/0.8936, allocations: 9.043 MB / 1.565 GB, free: 10.87 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.9043, allocations: 5.744 MB / 1.571 GB, free: 5.066 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.9044, allocations: 0 / 1.571 GB, free: 5.066 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008439/0.9128, allocations: 3.778 MB / 1.574 GB, free: 1.242 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.9146, allocations: 235.5 kB / 1.575 GB, free: 1.016 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06494/0.9796, allocations: 30.84 MB / 1.605 GB, free: 1.641 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6111/1.591, allocations: 1.853 MB / 1.607 GB, free: 265.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001076/1.592, allocations: 358.2 kB / 1.607 GB, free: 265.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/1.593, allocations: 0.6042 MB / 1.607 GB, free: 265.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.502e-06/1.593, allocations: 0 / 1.607 GB, free: 265.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/1.705, allocations: 78.78 MB / 1.684 GB, free: 218.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.38, allocations: 8.734 kB / 1.684 GB, free: 218.1 MB / 1.295 GB " [Timeout remaining time 284] (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: 22.23458880704129]