Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009461/0.000946, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.0054/0.0054, allocations: 169 kB / 16.26 MB, free: 6.66 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.309/2.309, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5151, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0129/0.528, allocations: 13.43 MB / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.5391, allocations: 9.257 MB / 1.045 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009602/0.5401, allocations: 47.69 kB / 1.045 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.5409, allocations: 281.8 kB / 1.046 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.5442, allocations: 1.414 MB / 1.047 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.5456, allocations: 0.6823 MB / 1.048 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002521/0.5481, allocations: 3.173 MB / 1.051 GB, free: 3.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.5507, allocations: 1.996 MB / 1.053 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008403/0.5516, allocations: 0.8596 MB / 1.054 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5526, allocations: 1.051 MB / 1.055 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.5528, allocations: 72 kB / 1.055 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.5539, allocations: 0.8693 MB / 1.055 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.5543, allocations: 0.5139 MB / 1.056 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.555, allocations: 0.8408 MB / 1.057 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.5569, allocations: 2.67 MB / 1.059 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.557, allocations: 0 / 1.059 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.557, allocations: 0 / 1.059 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.557, allocations: 0 / 1.059 GB, free: 10.51 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002732/0.5597, allocations: 1.812 MB / 1.061 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.5597, allocations: 8.031 kB / 1.061 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.56, allocations: 190.4 kB / 1.061 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.5706, allocations: 2.152 MB / 1.063 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.5724, allocations: 1.197 MB / 1.065 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.5725, allocations: 86.73 kB / 1.065 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.5727, allocations: 135.7 kB / 1.065 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005018/0.5777, allocations: 2.698 MB / 1.067 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.5778, allocations: 7.938 kB / 1.068 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.578, allocations: 59.92 kB / 1.068 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/0.5785, allocations: 182.1 kB / 1.068 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006987/0.5855, allocations: 2.85 MB / 1.071 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.5976, allocations: 10.56 MB / 1.081 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006313/0.6039, allocations: 2.566 MB / 1.083 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/0.6068, allocations: 1.315 MB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.6069, allocations: 9 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6069, allocations: 43.56 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 1.894e-06/0.6069, allocations: 3.938 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.0418/0.6487, allocations: 13.46 MB / 1.098 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.6488, allocations: 64.72 kB / 1.098 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.6499, allocations: 1.121 MB / 1.099 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.65, allocations: 45.7 kB / 1.099 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.6505, allocations: 0.7156 MB / 1.1 GB, free: 40 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.6508, allocations: 453.4 kB / 1.1 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.651, allocations: 109.7 kB / 1.1 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6511, allocations: 365.9 kB / 1.101 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.6543, allocations: 1.358 MB / 1.102 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/0.6575, allocations: 1.628 MB / 1.104 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006408/0.6639, allocations: 3.03 MB / 1.106 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6639, allocations: 7.938 kB / 1.106 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01046/0.6744, allocations: 4.485 MB / 1.111 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6744, allocations: 8 kB / 1.111 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6745, allocations: 11.98 kB / 1.111 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004741/0.6792, allocations: 1.432 MB / 1.112 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.6811, allocations: 443.2 kB / 1.113 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/0.7028, allocations: 24.56 MB / 1.137 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.7049, allocations: 311.7 kB / 1.137 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.705, allocations: 63.97 kB / 1.137 GB, free: 7.754 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005973/0.7056, allocations: 442.1 kB / 1.137 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.7059, allocations: 162.1 kB / 1.138 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.7169, allocations: 4.5 MB / 1.142 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7169, allocations: 12 kB / 1.142 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/0.717, allocations: 16 kB / 1.142 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.717, allocations: 3.984 kB / 1.142 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.7302, allocations: 6.833 MB / 1.149 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7302, allocations: 4 kB / 1.149 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.7319, allocations: 391.7 kB / 1.149 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/0.7361, allocations: 1.302 MB / 1.15 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.7362, allocations: 39.97 kB / 1.15 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.7561, allocations: 23.53 MB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7562, allocations: 4 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009635/0.7658, allocations: 4.251 MB / 1.178 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.7664, allocations: 451 kB / 1.178 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.7666, allocations: 31.98 kB / 1.178 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/0.7686, allocations: 315.5 kB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.7688, allocations: 124.7 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7689, allocations: 55.95 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008124/0.7698, allocations: 0.7487 MB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.7698, allocations: 0 / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001385/0.7712, allocations: 0.5664 MB / 1.18 GB, free: 9.879 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01004/0.7812, allocations: 4.832 MB / 1.184 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009577/0.7908, allocations: 5.158 MB / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7908, allocations: 0 / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005827/0.7966, allocations: 3.503 MB / 1.193 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.799, allocations: 0.5148 MB / 1.193 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03746/0.8364, allocations: 21.06 MB / 1.214 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009785/0.8374, allocations: 1.489 MB / 1.215 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001366/0.8388, allocations: 425.6 kB / 1.216 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007687/0.8396, allocations: 0.632 MB / 1.216 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.8396, allocations: 0 / 1.216 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.837/4.676, allocations: 49.03 MB / 1.264 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/4.677, allocations: 237.4 kB / 1.265 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/8.279, allocations: 0 / 1.265 GB, free: 211.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches