Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.007882/0.007882, allocations: 101.9 kB / 15.73 MB, free: 6.02 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.002114/0.002114, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.00196, allocations: 61.02 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 162.2 MB / 1.241 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0412/0.3382, allocations: 33.34 MB / 1.274 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02584/0.3641, allocations: 14.82 MB / 1.288 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.3675, allocations: 151.2 kB / 1.289 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009839/0.3774, allocations: 3.67 MB / 1.292 GB, free: 5.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008638/0.3861, allocations: 2.877 MB / 1.295 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006269/0.3924, allocations: 2.327 MB / 1.297 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.4046, allocations: 8.816 MB / 1.306 GB, free: 7.039 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.4193, allocations: 9.57 MB / 1.315 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007049/0.4263, allocations: 3.961 MB / 1.319 GB, free: 9.375 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007134/0.4335, allocations: 4.042 MB / 1.323 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.4354, allocations: 0.7148 MB / 1.324 GB, free: 4.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.4396, allocations: 1.713 MB / 1.325 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003458/0.4431, allocations: 2.822 MB / 1.328 GB, free: 64 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004928/0.448, allocations: 3.396 MB / 1.332 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.4654, allocations: 11.22 MB / 1.342 GB, free: 1.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4654, allocations: 4 kB / 1.342 GB, free: 1.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4654, allocations: 0 / 1.342 GB, free: 1.395 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000296/0.4657, allocations: 0 / 1.342 GB, free: 1.395 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01458/0.4803, allocations: 6.132 MB / 1.348 GB, free: 11.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4804, allocations: 12.03 kB / 1.348 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001416/0.4818, allocations: 0.7271 MB / 1.349 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/0.4888, allocations: 1.164 MB / 1.35 GB, free: 9.254 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007637/0.4964, allocations: 3.545 MB / 1.354 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.4968, allocations: 374.4 kB / 1.354 GB, free: 5.266 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.4981, allocations: 495.9 kB / 1.355 GB, free: 4.781 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.5137, allocations: 8.001 MB / 1.362 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.5139, allocations: 23.89 kB / 1.362 GB, free: 12.48 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005701/0.5145, allocations: 216 kB / 1.363 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/0.5156, allocations: 445.5 kB / 1.363 GB, free: 11.83 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.5271, allocations: 6.077 MB / 1.369 GB, free: 5.738 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.5721, allocations: 34.96 MB / 1.403 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.5752, allocations: 2.018 MB / 1.405 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/0.5779, allocations: 1.877 MB / 1.407 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.5781, allocations: 25.97 kB / 1.407 GB, free: 11.68 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.5781, allocations: 60.44 kB / 1.407 GB, free: 11.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.496e-06/0.5781, allocations: 0 / 1.407 GB, free: 11.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1555/0.7336, allocations: 38.96 MB / 1.445 GB, free: 4.543 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.7338, allocations: 81.58 kB / 1.445 GB, free: 4.449 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/0.7379, allocations: 2.282 MB / 1.447 GB, free: 2.152 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003562/0.7382, allocations: 77.7 kB / 1.447 GB, free: 2.07 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.7401, allocations: 2.334 MB / 1.45 GB, free: 15.71 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.7412, allocations: 0.9838 MB / 1.451 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.7426, allocations: 0.5063 MB / 1.451 GB, free: 14.2 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7427, allocations: 304.9 kB / 1.452 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.7457, allocations: 1.977 MB / 1.453 GB, free: 11.93 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.7493, allocations: 2.602 MB / 1.456 GB, free: 9.082 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.7563, allocations: 4.925 MB / 1.461 GB, free: 3.883 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7563, allocations: 4 kB / 1.461 GB, free: 3.879 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01551/0.7718, allocations: 7.778 MB / 1.468 GB, free: 12.03 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.7719, allocations: 15.94 kB / 1.468 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.772, allocations: 20 kB / 1.468 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009883/0.7819, allocations: 3.217 MB / 1.472 GB, free: 8.758 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.7836, allocations: 399.3 kB / 1.472 GB, free: 8.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04815/0.8318, allocations: 33.91 MB / 1.505 GB, free: 5.609 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.8347, allocations: 159.8 kB / 1.505 GB, free: 5.453 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.835, allocations: 104 kB / 1.505 GB, free: 5.352 MB / 1.232 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003021/0.838, allocations: 1.805 MB / 1.507 GB, free: 3.535 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/0.8387, allocations: 349.8 kB / 1.507 GB, free: 3.191 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/0.8534, allocations: 7.361 MB / 1.515 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.8535, allocations: 24 kB / 1.515 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.855e-05/0.8536, allocations: 39.98 kB / 1.515 GB, free: 11.68 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/0.8536, allocations: 11.95 kB / 1.515 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/0.8778, allocations: 12.92 MB / 1.527 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.8779, allocations: 4 kB / 1.527 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.8789, allocations: 239.6 kB / 1.528 GB, free: 14.35 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008379/0.8873, allocations: 2.852 MB / 1.53 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/0.8876, allocations: 48.38 kB / 1.53 GB, free: 11.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.595/1.483, allocations: 32.68 MB / 1.562 GB, free: 266 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.483, allocations: 11.47 kB / 1.562 GB, free: 266 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.495, allocations: 6.901 MB / 1.569 GB, free: 263.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.497, allocations: 0.7943 MB / 1.57 GB, free: 262.9 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/1.497, allocations: 58.14 kB / 1.57 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.499, allocations: 168.3 kB / 1.57 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009467/1.5, allocations: 259 kB / 1.57 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.5, allocations: 73.03 kB / 1.57 GB, free: 262.7 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002122/1.502, allocations: 1.526 MB / 1.572 GB, free: 262.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.182e-06/1.502, allocations: 0 / 1.572 GB, free: 262.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004024/1.506, allocations: 1.37 MB / 1.573 GB, free: 262 MB / 1.264 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/1.518, allocations: 7.541 MB / 1.581 GB, free: 258.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.528, allocations: 6.943 MB / 1.587 GB, free: 255.4 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.528, allocations: 7.125 kB / 1.587 GB, free: 255.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006611/1.534, allocations: 4.429 MB / 1.592 GB, free: 253.3 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/1.539, allocations: 1.13 MB / 1.593 GB, free: 252.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05359/1.592, allocations: 39.17 MB / 1.631 GB, free: 219.3 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/1.596, allocations: 3.651 MB / 1.635 GB, free: 215.6 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001695/1.597, allocations: 0.5546 MB / 1.635 GB, free: 215.1 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.599, allocations: 1.972 MB / 1.637 GB, free: 213.1 MB / 1.264 GB Notification: Performance of SimCode: time 6.21e-07/1.599, allocations: 0 / 1.637 GB, free: 213.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/1.75, allocations: 111.6 MB / 1.746 GB, free: 102.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/17.57, allocations: 3.859 kB / 1.746 GB, free: 102.8 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches