Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.002058/0.002059, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00258/0.00258, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.072/2.072, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.505/3.505, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 70.8 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4851, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02263/0.5078, allocations: 10.07 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.5183, allocations: 3.147 MB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.52, allocations: 31.81 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003016/0.523, allocations: 0.533 MB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.527, allocations: 0.6964 MB / 1.067 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.5303, allocations: 0.69 MB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006239/0.5366, allocations: 2.996 MB / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008124/0.5448, allocations: 3.075 MB / 1.073 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.5485, allocations: 1.262 MB / 1.074 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.5531, allocations: 1.659 MB / 1.076 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.5543, allocations: 236 kB / 1.076 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.5573, allocations: 0.4916 MB / 1.077 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002989/0.5604, allocations: 1.076 MB / 1.078 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.5643, allocations: 1.116 MB / 1.079 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008384/0.5728, allocations: 3.685 MB / 1.082 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.5728, allocations: 4 kB / 1.082 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.182e-06/0.5728, allocations: 0 / 1.082 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001421/0.573, allocations: 3.938 kB / 1.082 GB, free: 9.77 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.01088/0.5839, allocations: 2.134 MB / 1.085 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 8.599e-05/0.584, allocations: 12.56 kB / 1.085 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001327/0.5853, allocations: 261.2 kB / 1.085 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.6005, allocations: 1.325 MB / 1.086 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.6038, allocations: 1.255 MB / 1.087 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.604, allocations: 111.4 kB / 1.087 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.6051, allocations: 152.3 kB / 1.088 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008619/0.6138, allocations: 3.434 MB / 1.091 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.6138, allocations: 3.938 kB / 1.091 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.6142, allocations: 67.97 kB / 1.091 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002908/0.6145, allocations: 199.1 kB / 1.091 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005724/0.6203, allocations: 3.128 MB / 1.094 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.6401, allocations: 13.63 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.6427, allocations: 1.735 MB / 1.109 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.6448, allocations: 1.433 MB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.6449, allocations: 12.98 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.645, allocations: 47.56 kB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.645, allocations: 8 kB / 1.111 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1298/0.7747, allocations: 36.66 MB / 1.147 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.7748, allocations: 69.41 kB / 1.147 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.7762, allocations: 1.05 MB / 1.148 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.7764, allocations: 53.7 kB / 1.148 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.7769, allocations: 0.799 MB / 1.148 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.7774, allocations: 0.6199 MB / 1.149 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000732/0.7782, allocations: 363.4 kB / 1.149 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.7783, allocations: 301.1 kB / 1.15 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/0.7807, allocations: 1.928 MB / 1.152 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.7835, allocations: 2.289 MB / 1.154 GB, free: 15.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.7888, allocations: 4.388 MB / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.7888, allocations: 4 kB / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.018/0.8068, allocations: 9.031 MB / 1.167 GB, free: 1.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8069, allocations: 12 kB / 1.167 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.8069, allocations: 11.98 kB / 1.167 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0153/0.8222, allocations: 4.996 MB / 1.172 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.823, allocations: 191.7 kB / 1.172 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05216/0.8752, allocations: 38.93 MB / 1.21 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.8768, allocations: 103.9 kB / 1.21 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/0.8771, allocations: 63.98 kB / 1.21 GB, free: 4.797 MB / 0.9669 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.001231/0.8784, allocations: 0.8056 MB / 1.211 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.8787, allocations: 146.3 kB / 1.211 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/0.8966, allocations: 8.886 MB / 1.22 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8967, allocations: 19.94 kB / 1.22 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.609e-05/0.8967, allocations: 32 kB / 1.22 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.8968, allocations: 11.91 kB / 1.22 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/0.9206, allocations: 13.29 MB / 1.233 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.9206, allocations: 7.984 kB / 1.233 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.9211, allocations: 116.3 kB / 1.233 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/0.9358, allocations: 4.791 MB / 1.238 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/0.9361, allocations: 36 kB / 1.238 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5817/1.518, allocations: 34.86 MB / 1.272 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.518, allocations: 7.844 kB / 1.272 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/1.536, allocations: 8.401 MB / 1.28 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.537, allocations: 0.6162 MB / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/1.537, allocations: 36.31 kB / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.538, allocations: 91.7 kB / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008633/1.539, allocations: 167 kB / 1.281 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.539, allocations: 47.09 kB / 1.281 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008484/1.54, allocations: 0.7378 MB / 1.282 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.54, allocations: 0 / 1.282 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002805/1.543, allocations: 1.004 MB / 1.283 GB, free: 171.1 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.01628/1.559, allocations: 8.995 MB / 1.291 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008783/1.568, allocations: 6.693 MB / 1.298 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.568, allocations: 0 / 1.298 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006239/1.574, allocations: 3.829 MB / 1.302 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.576, allocations: 248.2 kB / 1.302 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07163/1.648, allocations: 32.47 MB / 1.334 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.649, allocations: 1.859 MB / 1.335 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008006/1.65, allocations: 358.6 kB / 1.336 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/1.651, allocations: 0.6108 MB / 1.336 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/1.651, allocations: 0 / 1.336 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.294/7.945, allocations: 74.78 MB / 1.409 GB, free: 52.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/7.945, allocations: 272.8 kB / 1.41 GB, free: 51.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.97/11.92, allocations: 2.812 kB / 1.41 GB, free: 51.76 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches