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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001257/0.001257, allocations: 195.3 kB / 16.14 MB, free: 6.645 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.2 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2896, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01173/0.3013, allocations: 10.06 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005391/0.3068, allocations: 3.174 MB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.3077, allocations: 27.88 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3092, allocations: 0.5485 MB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.3108, allocations: 0.7042 MB / 1.066 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3122, allocations: 0.6816 MB / 1.067 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00355/0.3157, allocations: 4.478 MB / 1.071 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.3191, allocations: 2.847 MB / 1.074 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3204, allocations: 1.051 MB / 1.075 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.3228, allocations: 1.617 MB / 1.077 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007202/0.3235, allocations: 164 kB / 1.077 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.325, allocations: 0.4992 MB / 1.077 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.3264, allocations: 1.006 MB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.3282, allocations: 1.03 MB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.3316, allocations: 3.626 MB / 1.083 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3317, allocations: 0 / 1.083 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3317, allocations: 0 / 1.083 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.025e-05/0.3317, allocations: 0 / 1.083 GB, free: 8.57 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.003321/0.335, allocations: 2.14 MB / 1.085 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3351, allocations: 12.03 kB / 1.085 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/0.3354, allocations: 269.2 kB / 1.085 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008007/0.3434, allocations: 1.309 MB / 1.087 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.3451, allocations: 1.259 MB / 1.088 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.3452, allocations: 115.4 kB / 1.088 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.3455, allocations: 144.3 kB / 1.088 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004534/0.35, allocations: 3.44 MB / 1.091 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.3501, allocations: 3.938 kB / 1.091 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.3503, allocations: 67.95 kB / 1.092 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.3505, allocations: 207.1 kB / 1.092 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004288/0.3548, allocations: 3.131 MB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.3701, allocations: 13.62 MB / 1.108 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.3726, allocations: 1.731 MB / 1.11 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.3744, allocations: 1.433 MB / 1.111 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.532e-05/0.3745, allocations: 12.94 kB / 1.111 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3746, allocations: 47.56 kB / 1.111 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.406e-06/0.3746, allocations: 0 / 1.111 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.127/0.5016, allocations: 36.67 MB / 1.147 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.5016, allocations: 73.41 kB / 1.147 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.503, allocations: 1.057 MB / 1.148 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.5032, allocations: 53.7 kB / 1.148 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.5037, allocations: 0.7873 MB / 1.149 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.5042, allocations: 0.62 MB / 1.15 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007225/0.5049, allocations: 367.3 kB / 1.15 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.505, allocations: 301.1 kB / 1.15 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/0.5075, allocations: 1.928 MB / 1.152 GB, free: 480 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.5103, allocations: 2.293 MB / 1.154 GB, free: 14.05 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.5155, allocations: 4.387 MB / 1.159 GB, free: 9.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5156, allocations: 8 kB / 1.159 GB, free: 9.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01833/0.5339, allocations: 9.018 MB / 1.167 GB, free: 492 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.534, allocations: 12 kB / 1.167 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.534, allocations: 8 kB / 1.167 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/0.55, allocations: 4.977 MB / 1.172 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.5508, allocations: 191.7 kB / 1.172 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04808/0.5989, allocations: 35.28 MB / 1.207 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.6005, allocations: 103.9 kB / 1.207 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.6007, allocations: 64 kB / 1.207 GB, free: 7.277 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.001224/0.602, allocations: 0.8056 MB / 1.208 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.6023, allocations: 142.3 kB / 1.208 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/0.6199, allocations: 8.894 MB / 1.217 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.62, allocations: 16 kB / 1.217 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-05/0.62, allocations: 28 kB / 1.217 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.62, allocations: 19.95 kB / 1.217 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/0.6441, allocations: 13.29 MB / 1.23 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6441, allocations: 4 kB / 1.23 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.6445, allocations: 119.8 kB / 1.23 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01524/0.6598, allocations: 4.768 MB / 1.235 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.66, allocations: 36 kB / 1.235 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5208/1.181, allocations: 31.57 MB / 1.265 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.181, allocations: 10.89 kB / 1.265 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.199, allocations: 8.41 MB / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.2, allocations: 0.6126 MB / 1.274 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/1.2, allocations: 39.25 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.202, allocations: 98.75 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009224/1.203, allocations: 159.2 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.203, allocations: 46.56 kB / 1.275 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009644/1.204, allocations: 0.7411 MB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.204, allocations: 0 / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003188/1.207, allocations: 1.004 MB / 1.276 GB, free: 173.4 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.01629/1.223, allocations: 8.994 MB / 1.285 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008105/1.231, allocations: 5.839 MB / 1.291 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.231, allocations: 3.156 kB / 1.291 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006081/1.238, allocations: 3.832 MB / 1.294 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.239, allocations: 228.6 kB / 1.295 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04765/1.287, allocations: 32.49 MB / 1.326 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.288, allocations: 1.859 MB / 1.328 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007879/1.289, allocations: 358.5 kB / 1.329 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/1.29, allocations: 0.6047 MB / 1.329 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.29, allocations: 0 / 1.329 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6719/1.962, allocations: 72.74 MB / 1.4 GB, free: 60.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.962, allocations: 267.1 kB / 1.4 GB, free: 60.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/4.582, allocations: 0.875 kB / 1.4 GB, free: 60.04 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