Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009103/0.009103, allocations: 99.52 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 200.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 71.88 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01213/0.2766, allocations: 10.08 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005595/0.2823, allocations: 3.178 MB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/0.2832, allocations: 39.81 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.285, allocations: 0.5946 MB / 1.18 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.2867, allocations: 0.7817 MB / 1.181 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2883, allocations: 0.7364 MB / 1.181 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.2913, allocations: 3.004 MB / 1.184 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.2944, allocations: 2.594 MB / 1.187 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.2961, allocations: 1.266 MB / 1.188 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.2984, allocations: 1.558 MB / 1.189 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005815/0.2989, allocations: 236 kB / 1.19 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3002, allocations: 0.4994 MB / 1.19 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.3014, allocations: 1.068 MB / 1.191 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.3031, allocations: 1.112 MB / 1.192 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.3069, allocations: 3.695 MB / 1.196 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.307, allocations: 0 / 1.196 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.307, allocations: 3.938 kB / 1.196 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.38e-05/0.3071, allocations: 0 / 1.196 GB, free: 8.75 MB / 0.9512 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.004932/0.312, allocations: 2.198 MB / 1.198 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.312, allocations: 8.031 kB / 1.198 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004265/0.3125, allocations: 261.2 kB / 1.198 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.3218, allocations: 1.318 MB / 1.2 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.3247, allocations: 1.31 MB / 1.201 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.283e-05/0.3248, allocations: 115.4 kB / 1.201 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/0.3252, allocations: 152.3 kB / 1.201 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/0.331, allocations: 3.433 MB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.331, allocations: 4 kB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.3313, allocations: 71.95 kB / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002558/0.3315, allocations: 203.1 kB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.3365, allocations: 3.131 MB / 1.208 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.3552, allocations: 13.56 MB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.3578, allocations: 1.735 MB / 1.223 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.3599, allocations: 1.436 MB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.505e-05/0.36, allocations: 16.98 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.36, allocations: 39.56 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 2.906e-06/0.36, allocations: 0 / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.6741/1.034, allocations: 36.72 MB / 1.26 GB, free: 77.81 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/1.034, allocations: 70.97 kB / 1.26 GB, free: 77.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.036, allocations: 1.05 MB / 1.261 GB, free: 77.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/1.037, allocations: 55.7 kB / 1.261 GB, free: 77.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/1.037, allocations: 0.8139 MB / 1.262 GB, free: 76.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006248/1.038, allocations: 0.6508 MB / 1.263 GB, free: 76.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008127/1.039, allocations: 364.6 kB / 1.263 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/1.039, allocations: 306.7 kB / 1.263 GB, free: 75.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/1.041, allocations: 1.933 MB / 1.265 GB, free: 75.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/1.045, allocations: 2.286 MB / 1.267 GB, free: 74.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/1.051, allocations: 4.392 MB / 1.272 GB, free: 72.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.051, allocations: 2.625 kB / 1.272 GB, free: 72.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02117/1.072, allocations: 9.023 MB / 1.281 GB, free: 69.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.072, allocations: 10.91 kB / 1.281 GB, free: 69.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/1.072, allocations: 10.95 kB / 1.281 GB, free: 69.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01852/1.09, allocations: 4.976 MB / 1.285 GB, free: 68.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/1.091, allocations: 193.6 kB / 1.286 GB, free: 68.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05425/1.146, allocations: 38.93 MB / 1.324 GB, free: 44.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.148, allocations: 103.9 kB / 1.324 GB, free: 44.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/1.148, allocations: 64 kB / 1.324 GB, free: 44.17 MB / 0.9981 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.001627/1.15, allocations: 0.8112 MB / 1.325 GB, free: 43.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/1.151, allocations: 147.1 kB / 1.325 GB, free: 43.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/1.169, allocations: 8.887 MB / 1.333 GB, free: 34.28 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.169, allocations: 16 kB / 1.333 GB, free: 34.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-05/1.169, allocations: 32 kB / 1.333 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/1.169, allocations: 11.91 kB / 1.333 GB, free: 34.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/1.194, allocations: 13.4 MB / 1.346 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.194, allocations: 8.094 kB / 1.347 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/1.195, allocations: 119.8 kB / 1.347 GB, free: 20.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01578/1.21, allocations: 4.836 MB / 1.351 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000376/1.211, allocations: 32.86 kB / 1.351 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05207/1.263, allocations: 36.87 MB / 1.387 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.263, allocations: 4 kB / 1.387 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.283, allocations: 8.599 MB / 1.396 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.285, allocations: 0.6483 MB / 1.396 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.285, allocations: 32 kB / 1.396 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.287, allocations: 91.83 kB / 1.397 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007982/1.288, allocations: 165.6 kB / 1.397 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.288, allocations: 51.98 kB / 1.397 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001086/1.289, allocations: 0.7396 MB / 1.397 GB, free: 15.86 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.289, allocations: 0 / 1.397 GB, free: 15.86 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003362/1.292, allocations: 1.004 MB / 1.398 GB, free: 14.86 MB / 1.045 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.01996/1.312, allocations: 9.205 MB / 1.407 GB, free: 5.559 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.323, allocations: 5.948 MB / 1.413 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.323, allocations: 0 / 1.413 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.008658/1.332, allocations: 3.952 MB / 1.417 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.334, allocations: 232.1 kB / 1.417 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06049/1.394, allocations: 31.08 MB / 1.448 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/1.397, allocations: 1.859 MB / 1.449 GB, free: 9.859 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000845/1.397, allocations: 355.1 kB / 1.45 GB, free: 9.512 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/1.398, allocations: 0.6047 MB / 1.45 GB, free: 8.906 MB / 1.092 GB Notification: Performance of SimCode: time 8.51e-07/1.398, allocations: 0 / 1.45 GB, free: 8.906 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/1.543, allocations: 76.17 MB / 1.525 GB, free: 13.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/13.37, allocations: 16.83 kB / 1.525 GB, free: 13.07 MB / 1.17 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches