Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.562/2.562, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.89 kB / 0.8694 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5637, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02536/0.589, allocations: 23.42 MB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.6002, allocations: 6.484 MB / 1.047 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.6025, allocations: 99.5 kB / 1.047 GB, free: 4.426 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.6067, allocations: 1.488 MB / 1.048 GB, free: 2.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.6109, allocations: 1.824 MB / 1.05 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.6145, allocations: 1.469 MB / 1.051 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006893/0.6214, allocations: 6.92 MB / 1.058 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008977/0.6304, allocations: 6.994 MB / 1.065 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.6345, allocations: 2.835 MB / 1.068 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/0.6395, allocations: 3.462 MB / 1.071 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.641, allocations: 0.5312 MB / 1.072 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.6441, allocations: 1.182 MB / 1.073 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003393/0.6475, allocations: 2.464 MB / 1.075 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.6521, allocations: 2.528 MB / 1.078 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009598/0.6617, allocations: 8.472 MB / 1.086 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6617, allocations: 0 / 1.086 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.985e-06/0.6617, allocations: 0 / 1.086 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003284/0.6621, allocations: 0 / 1.086 GB, free: 12.07 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01095/0.673, allocations: 4.428 MB / 1.09 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6731, allocations: 8.031 kB / 1.09 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001358/0.6745, allocations: 0.5753 MB / 1.091 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008895/0.6834, allocations: 1.681 MB / 1.092 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/0.6885, allocations: 2.571 MB / 1.095 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/0.6888, allocations: 275.7 kB / 1.095 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.6899, allocations: 368.2 kB / 1.096 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.7019, allocations: 7.487 MB / 1.103 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.882e-05/0.7021, allocations: 11.84 kB / 1.103 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005527/0.7026, allocations: 163.9 kB / 1.103 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005452/0.7032, allocations: 483.3 kB / 1.104 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009647/0.7128, allocations: 5.705 MB / 1.109 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0371/0.75, allocations: 31.71 MB / 1.14 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.753, allocations: 2.09 MB / 1.142 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.756, allocations: 2.174 MB / 1.144 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.7562, allocations: 21.25 kB / 1.144 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.7563, allocations: 51.88 kB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/0.7563, allocations: 0 / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.3057/1.062, allocations: 77 MB / 1.22 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.062, allocations: 81.39 kB / 1.22 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/1.065, allocations: 1.674 MB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003835/1.065, allocations: 65.7 kB / 1.221 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.066, allocations: 1.739 MB / 1.223 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000911/1.067, allocations: 0.8626 MB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/1.068, allocations: 481.2 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/1.068, allocations: 301.1 kB / 1.225 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/1.072, allocations: 2.734 MB / 1.227 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004042/1.076, allocations: 3.332 MB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007977/1.084, allocations: 6.397 MB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.084, allocations: 4 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.5024/1.586, allocations: 14.67 MB / 1.251 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/1.586, allocations: 14.59 kB / 1.251 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/1.586, allocations: 16.69 kB / 1.251 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03129/1.618, allocations: 9.303 MB / 1.26 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.619, allocations: 302.1 kB / 1.26 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0704/1.689, allocations: 52.38 MB / 1.312 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/1.692, allocations: 219.7 kB / 1.312 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/1.693, allocations: 108 kB / 1.312 GB, free: 180 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002403/1.695, allocations: 1.581 MB / 1.313 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/1.696, allocations: 241.1 kB / 1.314 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02892/1.725, allocations: 14.76 MB / 1.328 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/1.725, allocations: 24 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001354/1.725, allocations: 48 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/1.725, allocations: 15.89 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.036/1.761, allocations: 20.52 MB / 1.348 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.761, allocations: 8 kB / 1.348 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/1.762, allocations: 159.7 kB / 1.348 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0369/1.799, allocations: 9.062 MB / 1.357 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000618/1.8, allocations: 55.88 kB / 1.357 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07083/1.87, allocations: 51.94 MB / 1.408 GB, free: 80.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.87, allocations: 11.94 kB / 1.408 GB, free: 80.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02715/1.898, allocations: 14.37 MB / 1.422 GB, free: 66.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.899, allocations: 0.8493 MB / 1.423 GB, free: 65.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006442/1.9, allocations: 52 kB / 1.423 GB, free: 65.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.902, allocations: 207.7 kB / 1.423 GB, free: 64.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/1.903, allocations: 245.4 kB / 1.423 GB, free: 64.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.903, allocations: 64 kB / 1.423 GB, free: 64.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001244/1.905, allocations: 1.121 MB / 1.425 GB, free: 63.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.905, allocations: 4 kB / 1.425 GB, free: 63.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003812/1.908, allocations: 1.613 MB / 1.426 GB, free: 61.83 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02589/1.934, allocations: 14.98 MB / 1.441 GB, free: 46.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01997/1.954, allocations: 11.32 MB / 1.452 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.954, allocations: 4 kB / 1.452 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01468/1.969, allocations: 7.317 MB / 1.459 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.972, allocations: 0.5436 MB / 1.459 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09026/2.062, allocations: 53.36 MB / 1.512 GB, free: 3.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004554/2.067, allocations: 3.226 MB / 1.515 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001128/2.068, allocations: 395.3 kB / 1.515 GB, free: 208 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/2.07, allocations: 1.471 MB / 1.517 GB, free: 14.77 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/2.07, allocations: 0 / 1.517 GB, free: 14.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.497/2.567, allocations: 119.4 MB / 1.633 GB, free: 7.824 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/14.09, allocations: 13.7 kB / 1.633 GB, free: 7.82 MB / 1.154 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches