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.005308/0.005308, allocations: 96.7 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.001411/0.001411, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.407/2.407, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001765, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2451, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01141/0.2565, allocations: 10.08 MB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.2615, allocations: 3.182 MB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.2618, allocations: 35.81 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.2632, allocations: 0.5941 MB / 1.18 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.2644, allocations: 0.7388 MB / 1.18 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2657, allocations: 0.7408 MB / 1.181 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002639/0.2683, allocations: 3 MB / 1.184 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.2709, allocations: 2.598 MB / 1.187 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.2721, allocations: 1.246 MB / 1.188 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.2739, allocations: 1.562 MB / 1.189 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.2742, allocations: 236 kB / 1.19 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000778/0.275, allocations: 0.4993 MB / 1.19 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009302/0.2759, allocations: 1.068 MB / 1.191 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.2769, allocations: 1.112 MB / 1.192 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.28, allocations: 3.703 MB / 1.196 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.28, allocations: 0 / 1.196 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.28, allocations: 0 / 1.196 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.2801, allocations: 0 / 1.196 GB, free: 8.746 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.00344/0.2835, allocations: 2.194 MB / 1.198 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2836, allocations: 11.97 kB / 1.198 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003044/0.2839, allocations: 257.2 kB / 1.198 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008223/0.2921, allocations: 1.318 MB / 1.2 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.294, allocations: 1.306 MB / 1.201 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/0.294, allocations: 111.4 kB / 1.201 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.2943, allocations: 152.3 kB / 1.201 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/0.2989, allocations: 3.44 MB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.299, allocations: 7.938 kB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.2992, allocations: 67.97 kB / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.2994, allocations: 203.1 kB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.304, allocations: 3.128 MB / 1.208 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.3193, allocations: 13.56 MB / 1.221 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.3217, allocations: 1.731 MB / 1.223 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.3236, allocations: 1.44 MB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.3237, allocations: 16.94 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3237, allocations: 39.56 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 2.415e-06/0.3238, allocations: 0 / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.5846/0.9084, allocations: 36.71 MB / 1.26 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.9085, allocations: 71.59 kB / 1.26 GB, free: 77.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.9099, allocations: 1.054 MB / 1.261 GB, free: 77.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.9101, allocations: 51.61 kB / 1.261 GB, free: 77.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.9105, allocations: 0.8141 MB / 1.262 GB, free: 76.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.9109, allocations: 0.6524 MB / 1.263 GB, free: 76.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/0.9116, allocations: 364.5 kB / 1.263 GB, free: 76.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.929e-05/0.9117, allocations: 310.6 kB / 1.263 GB, free: 75.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.9139, allocations: 1.929 MB / 1.265 GB, free: 75.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.9163, allocations: 2.287 MB / 1.267 GB, free: 74.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00477/0.9211, allocations: 4.389 MB / 1.272 GB, free: 72.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.9211, allocations: 3.688 kB / 1.272 GB, free: 72.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01812/0.9392, allocations: 9.031 MB / 1.28 GB, free: 69.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.9393, allocations: 9.328 kB / 1.28 GB, free: 69.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.9393, allocations: 8.812 kB / 1.28 GB, free: 69.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/0.9548, allocations: 4.981 MB / 1.285 GB, free: 68.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.9554, allocations: 193 kB / 1.286 GB, free: 68.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04305/0.9985, allocations: 38.92 MB / 1.324 GB, free: 44.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1, allocations: 104.6 kB / 1.324 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1, allocations: 70.5 kB / 1.324 GB, free: 44.2 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.0008785/1.001, allocations: 0.8057 MB / 1.325 GB, free: 43.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.001, allocations: 147 kB / 1.325 GB, free: 43.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.017, allocations: 8.886 MB / 1.333 GB, free: 34.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.017, allocations: 22.95 kB / 1.333 GB, free: 34.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/1.017, allocations: 31.75 kB / 1.333 GB, free: 34.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.017, allocations: 15.89 kB / 1.333 GB, free: 34.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/1.037, allocations: 13.4 MB / 1.346 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.037, allocations: 4 kB / 1.346 GB, free: 20.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/1.037, allocations: 119.8 kB / 1.347 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/1.051, allocations: 4.833 MB / 1.351 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.051, allocations: 36 kB / 1.351 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04636/1.097, allocations: 36.87 MB / 1.387 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.097, allocations: 7.938 kB / 1.387 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.115, allocations: 8.595 MB / 1.396 GB, free: 1.648 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009975/1.116, allocations: 0.6405 MB / 1.396 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/1.117, allocations: 36 kB / 1.396 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.118, allocations: 99.81 kB / 1.397 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/1.118, allocations: 161.7 kB / 1.397 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.119, allocations: 47.94 kB / 1.397 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008577/1.119, allocations: 0.7382 MB / 1.397 GB, free: 15.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.119, allocations: 0 / 1.397 GB, free: 15.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002285/1.122, allocations: 1.004 MB / 1.398 GB, free: 14.89 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.01873/1.14, allocations: 9.196 MB / 1.407 GB, free: 5.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009156/1.15, allocations: 5.958 MB / 1.413 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.15, allocations: 0 / 1.413 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007214/1.157, allocations: 3.949 MB / 1.417 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.158, allocations: 239 kB / 1.417 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05343/1.211, allocations: 31.09 MB / 1.448 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/1.213, allocations: 1.859 MB / 1.449 GB, free: 9.891 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006605/1.214, allocations: 362.4 kB / 1.45 GB, free: 9.535 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/1.214, allocations: 0.6125 MB / 1.45 GB, free: 8.922 MB / 1.092 GB Notification: Performance of SimCode: time 5.01e-07/1.214, allocations: 0 / 1.45 GB, free: 8.922 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.224/4.438, allocations: 76.15 MB / 1.525 GB, free: 13.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/17.17, allocations: 19.16 kB / 1.525 GB, free: 13.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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