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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 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.001218/0.001218, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.645/2.645, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.03 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5409, allocations: 151.6 MB / 1.017 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01122/0.5522, allocations: 10.08 MB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005197/0.5574, allocations: 3.181 MB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.5579, allocations: 39.81 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.5594, allocations: 0.5881 MB / 1.031 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.5606, allocations: 0.7426 MB / 1.032 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.562, allocations: 0.7439 MB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.5646, allocations: 2.996 MB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.5671, allocations: 2.624 MB / 1.038 GB, free: 13.49 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.5684, allocations: 1.246 MB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5701, allocations: 1.562 MB / 1.041 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.5704, allocations: 232 kB / 1.041 GB, free: 10.45 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.5713, allocations: 0.5032 MB / 1.041 GB, free: 9.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009303/0.5722, allocations: 1.068 MB / 1.042 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.5734, allocations: 1.116 MB / 1.044 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.5764, allocations: 3.661 MB / 1.047 GB, free: 4.078 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5764, allocations: 4 kB / 1.047 GB, free: 4.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5764, allocations: 0 / 1.047 GB, free: 4.074 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.5764, allocations: 0 / 1.047 GB, free: 4.074 MB / 0.795 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.003587/0.58, allocations: 2.146 MB / 1.049 GB, free: 1.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5801, allocations: 15.97 kB / 1.049 GB, free: 1.855 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.5804, allocations: 257.2 kB / 1.049 GB, free: 1.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009324/0.5897, allocations: 1.309 MB / 1.051 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.592, allocations: 1.259 MB / 1.052 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.5921, allocations: 115.4 kB / 1.052 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004497/0.5926, allocations: 152.3 kB / 1.052 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005487/0.5981, allocations: 3.433 MB / 1.056 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.5982, allocations: 3.938 kB / 1.056 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.5984, allocations: 67.97 kB / 1.056 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/0.5987, allocations: 203.1 kB / 1.056 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005054/0.6037, allocations: 3.124 MB / 1.059 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.6216, allocations: 13.61 MB / 1.072 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.6243, allocations: 1.736 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.6264, allocations: 1.44 MB / 1.075 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-05/0.6265, allocations: 9 kB / 1.075 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.6266, allocations: 43.56 kB / 1.075 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.6266, allocations: 0 / 1.075 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1586/0.7852, allocations: 36.67 MB / 1.111 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.7853, allocations: 73.41 kB / 1.111 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.7868, allocations: 1.05 MB / 1.112 GB, free: 80 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.787, allocations: 57.7 kB / 1.112 GB, free: 16 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.7876, allocations: 0.7873 MB / 1.113 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/0.7882, allocations: 0.6239 MB / 1.114 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007795/0.789, allocations: 363.3 kB / 1.114 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.7891, allocations: 305.1 kB / 1.114 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.7918, allocations: 1.928 MB / 1.116 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.7948, allocations: 2.285 MB / 1.118 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005802/0.8007, allocations: 4.397 MB / 1.123 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.8007, allocations: 4 kB / 1.123 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02125/0.8219, allocations: 9.015 MB / 1.132 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.822, allocations: 10.69 kB / 1.132 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.8221, allocations: 15.98 kB / 1.132 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01794/0.84, allocations: 5.004 MB / 1.136 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.841, allocations: 191.7 kB / 1.137 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05809/0.8991, allocations: 38.93 MB / 1.175 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.9011, allocations: 103.9 kB / 1.175 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.9014, allocations: 68 kB / 1.175 GB, free: 15.1 MB / 0.9356 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.001319/0.9028, allocations: 0.8134 MB / 1.176 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.9032, allocations: 142.3 kB / 1.176 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/0.9239, allocations: 8.886 MB / 1.184 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.9239, allocations: 20 kB / 1.184 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.347e-05/0.924, allocations: 28 kB / 1.184 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.924, allocations: 7.969 kB / 1.184 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/0.9511, allocations: 13.31 MB / 1.197 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.9511, allocations: 4 kB / 1.197 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.9516, allocations: 119.8 kB / 1.198 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01747/0.9691, allocations: 4.779 MB / 1.202 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/0.9694, allocations: 36 kB / 1.202 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05378/1.023, allocations: 34.87 MB / 1.236 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.023, allocations: 11.88 kB / 1.236 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/1.043, allocations: 8.4 MB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.045, allocations: 0.6124 MB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/1.045, allocations: 47.83 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.047, allocations: 87.89 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007756/1.047, allocations: 161.7 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.048, allocations: 48 kB / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001017/1.049, allocations: 0.7421 MB / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.049, allocations: 0 / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002891/1.051, allocations: 1.004 MB / 1.247 GB, free: 4.062 MB / 0.9981 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4528/1.504, allocations: 8.981 MB / 1.256 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.517, allocations: 6.688 MB / 1.262 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.517, allocations: 2.969 kB / 1.262 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007989/1.525, allocations: 3.828 MB / 1.266 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.527, allocations: 244 kB / 1.266 GB, free: 213 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05414/1.581, allocations: 31.71 MB / 1.297 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/1.583, allocations: 1.856 MB / 1.299 GB, free: 197 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009671/1.584, allocations: 364.1 kB / 1.3 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/1.585, allocations: 0.6086 MB / 1.3 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.585, allocations: 0 / 1.3 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09507/1.68, allocations: 74.16 MB / 1.373 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/12.49, allocations: 10.41 kB / 1.373 GB, free: 122.2 MB / 0.9981 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=50 --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