Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLine_N,fileNamePrefix="Buildings_11_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_11_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.007812/0.007812, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001831/0.001831, allocations: 193.6 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7704, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0363/0.8067, allocations: 33.35 MB / 1.253 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02198/0.8287, allocations: 14.81 MB / 1.267 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.8315, allocations: 159.2 kB / 1.267 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008618/0.8401, allocations: 3.657 MB / 1.271 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007272/0.8474, allocations: 2.886 MB / 1.274 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.8527, allocations: 2.324 MB / 1.276 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.8628, allocations: 8.81 MB / 1.285 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01105/0.8738, allocations: 9.582 MB / 1.294 GB, free: 6.133 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.8794, allocations: 3.953 MB / 1.298 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005386/0.8848, allocations: 4.038 MB / 1.302 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.8859, allocations: 0.7188 MB / 1.302 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.8892, allocations: 1.716 MB / 1.304 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.8918, allocations: 2.83 MB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003788/0.8956, allocations: 3.384 MB / 1.31 GB, free: 5.445 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.9069, allocations: 11.21 MB / 1.321 GB, free: 10.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9069, allocations: 0 / 1.321 GB, free: 10.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9069, allocations: 0 / 1.321 GB, free: 10.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002376/0.9071, allocations: 0 / 1.321 GB, free: 10.2 MB / 1.045 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.01129/0.9184, allocations: 6.143 MB / 1.327 GB, free: 3.965 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9185, allocations: 12.62 kB / 1.327 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009132/0.9194, allocations: 0.7231 MB / 1.328 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006085/0.9255, allocations: 1.172 MB / 1.329 GB, free: 2.043 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005857/0.9314, allocations: 3.542 MB / 1.332 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.9316, allocations: 378.3 kB / 1.333 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007147/0.9324, allocations: 499.8 kB / 1.333 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.9439, allocations: 8.001 MB / 1.341 GB, free: 5.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.944, allocations: 23.83 kB / 1.341 GB, free: 5.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004812/0.9445, allocations: 216 kB / 1.341 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/0.9455, allocations: 441.5 kB / 1.342 GB, free: 4.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009016/0.9546, allocations: 6.081 MB / 1.348 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03467/0.9892, allocations: 34.96 MB / 1.382 GB, free: 8.391 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.9919, allocations: 2.018 MB / 1.384 GB, free: 6.367 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.9943, allocations: 1.877 MB / 1.386 GB, free: 4.492 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.9945, allocations: 18 kB / 1.386 GB, free: 4.473 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.9945, allocations: 56.5 kB / 1.386 GB, free: 4.41 MB / 1.107 GB Notification: Performance of pre-optimization done (n=171): time 2.705e-06/0.9945, allocations: 4 kB / 1.386 GB, free: 4.406 MB / 1.107 GB Notification: Performance of matching and sorting (n=276): time 0.1479/1.142, allocations: 38.97 MB / 1.424 GB, free: 13.34 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/1.142, allocations: 81.58 kB / 1.424 GB, free: 13.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/1.145, allocations: 2.278 MB / 1.426 GB, free: 10.95 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/1.146, allocations: 73.7 kB / 1.426 GB, free: 10.88 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.147, allocations: 2.334 MB / 1.428 GB, free: 8.52 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/1.148, allocations: 0.9798 MB / 1.429 GB, free: 7.531 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009258/1.149, allocations: 0.5102 MB / 1.43 GB, free: 7.012 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.149, allocations: 309.1 kB / 1.43 GB, free: 6.707 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/1.152, allocations: 1.977 MB / 1.432 GB, free: 4.727 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/1.156, allocations: 2.602 MB / 1.435 GB, free: 1.879 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006987/1.163, allocations: 4.929 MB / 1.439 GB, free: 12.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.163, allocations: 4 kB / 1.439 GB, free: 12.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01529/1.178, allocations: 7.775 MB / 1.447 GB, free: 4.824 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.178, allocations: 12 kB / 1.447 GB, free: 4.812 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/1.178, allocations: 16 kB / 1.447 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00932/1.187, allocations: 3.217 MB / 1.45 GB, free: 1.562 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.189, allocations: 399.3 kB / 1.451 GB, free: 1.172 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04741/1.236, allocations: 33.92 MB / 1.484 GB, free: 14.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.239, allocations: 163.8 kB / 1.484 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.239, allocations: 104 kB / 1.484 GB, free: 14.14 MB / 1.217 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.00284/1.242, allocations: 1.803 MB / 1.486 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/1.243, allocations: 349.8 kB / 1.486 GB, free: 11.98 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.257, allocations: 7.353 MB / 1.493 GB, free: 4.547 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.257, allocations: 28 kB / 1.493 GB, free: 4.52 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/1.257, allocations: 28.38 kB / 1.493 GB, free: 4.492 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/1.257, allocations: 16.19 kB / 1.493 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/1.278, allocations: 12.92 MB / 1.506 GB, free: 7.383 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.278, allocations: 12 kB / 1.506 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/1.279, allocations: 240.4 kB / 1.506 GB, free: 7.137 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007684/1.286, allocations: 2.849 MB / 1.509 GB, free: 4.27 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/1.287, allocations: 52 kB / 1.509 GB, free: 4.219 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04226/1.329, allocations: 32.69 MB / 1.541 GB, free: 2.676 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.329, allocations: 11.94 kB / 1.541 GB, free: 2.664 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.341, allocations: 6.9 MB / 1.548 GB, free: 11.55 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.342, allocations: 0.7956 MB / 1.549 GB, free: 10.73 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/1.343, allocations: 52 kB / 1.549 GB, free: 10.68 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.344, allocations: 175.7 kB / 1.549 GB, free: 10.51 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006741/1.345, allocations: 249.5 kB / 1.549 GB, free: 10.27 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.345, allocations: 76 kB / 1.549 GB, free: 10.19 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001978/1.347, allocations: 1.525 MB / 1.551 GB, free: 8.664 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.91e-07/1.347, allocations: 8 kB / 1.551 GB, free: 8.656 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003056/1.35, allocations: 1.367 MB / 1.552 GB, free: 7.289 MB / 1.279 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.4836/1.834, allocations: 7.525 MB / 1.559 GB, free: 311.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.845, allocations: 6.95 MB / 1.566 GB, free: 310.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.845, allocations: 6.094 kB / 1.566 GB, free: 310.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006324/1.851, allocations: 4.422 MB / 1.57 GB, free: 309.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/1.855, allocations: 1.104 MB / 1.571 GB, free: 309.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/1.901, allocations: 39.19 MB / 1.61 GB, free: 290.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/1.904, allocations: 3.65 MB / 1.613 GB, free: 287.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001614/1.906, allocations: 0.5596 MB / 1.614 GB, free: 287.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/1.908, allocations: 1.973 MB / 1.616 GB, free: 285.5 MB / 1.279 GB Notification: Performance of SimCode: time 7.01e-07/1.908, allocations: 3.938 kB / 1.616 GB, free: 285.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.728/3.636, allocations: 111.6 MB / 1.725 GB, free: 176.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.43/23.07, allocations: 9.438 kB / 1.725 GB, free: 176.1 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches