Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.006619/0.006619, allocations: 101 kB / 15.73 MB, free: 6.469 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.001571/0.001571, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.285, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0334/0.3185, allocations: 32.61 MB / 1.239 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6387/0.9572, allocations: 10.26 MB / 1.249 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.9602, allocations: 148.8 kB / 1.249 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008227/0.9685, allocations: 3.722 MB / 1.253 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004804/0.9733, allocations: 1.846 MB / 1.255 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004955/0.9782, allocations: 2.142 MB / 1.257 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008692/0.987, allocations: 7.315 MB / 1.264 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.9998, allocations: 9.422 MB / 1.273 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005675/1.006, allocations: 3.231 MB / 1.276 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005991/1.012, allocations: 3.477 MB / 1.28 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002047/1.014, allocations: 0.6462 MB / 1.28 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/1.018, allocations: 1.771 MB / 1.282 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004094/1.023, allocations: 2.546 MB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006346/1.029, allocations: 2.898 MB / 1.287 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/1.044, allocations: 10.1 MB / 1.297 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.044, allocations: 0 / 1.297 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/1.044, allocations: 0 / 1.297 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003162/1.045, allocations: 4 kB / 1.297 GB, free: 3.27 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01479/1.06, allocations: 5.007 MB / 1.302 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.06, allocations: 10.97 kB / 1.302 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002251/1.062, allocations: 0.6825 MB / 1.303 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006483/1.068, allocations: 0.9552 MB / 1.304 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007419/1.076, allocations: 3.034 MB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/1.076, allocations: 353.8 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/1.078, allocations: 468.3 kB / 1.308 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/1.1, allocations: 7.665 MB / 1.315 GB, free: 9.949 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003832/1.1, allocations: 21.78 kB / 1.315 GB, free: 9.938 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/1.102, allocations: 205.7 kB / 1.315 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000476/1.103, allocations: 318.8 kB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/1.118, allocations: 5.708 MB / 1.321 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04594/1.164, allocations: 34.83 MB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/1.166, allocations: 2.149 MB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/1.168, allocations: 1.261 MB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/1.168, allocations: 20.11 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/1.168, allocations: 45.28 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.707e-06/1.168, allocations: 0 / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01432/1.183, allocations: 7.092 MB / 1.365 GB, free: 14.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.183, allocations: 64.72 kB / 1.365 GB, free: 14.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/1.185, allocations: 1.484 MB / 1.367 GB, free: 12.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/1.185, allocations: 45.7 kB / 1.367 GB, free: 12.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.187, allocations: 2.006 MB / 1.369 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006354/1.188, allocations: 489 kB / 1.369 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006879/1.188, allocations: 355.1 kB / 1.37 GB, free: 9.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.189, allocations: 301.1 kB / 1.37 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.19, allocations: 0.9174 MB / 1.371 GB, free: 8.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/1.192, allocations: 1.596 MB / 1.372 GB, free: 6.766 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/1.196, allocations: 2.727 MB / 1.375 GB, free: 3.734 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/1.196, allocations: 8 kB / 1.375 GB, free: 3.727 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006412/1.202, allocations: 3.539 MB / 1.379 GB, free: 144 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/1.202, allocations: 16 kB / 1.379 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/1.202, allocations: 20 kB / 1.379 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/1.205, allocations: 0.9107 MB / 1.38 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.206, allocations: 351.3 kB / 1.38 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/1.226, allocations: 23.1 MB / 1.402 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.228, allocations: 99.92 kB / 1.403 GB, free: 5.969 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/1.228, allocations: 88 kB / 1.403 GB, free: 5.883 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003058/1.232, allocations: 1.613 MB / 1.404 GB, free: 4.258 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/1.232, allocations: 209.5 kB / 1.404 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/1.237, allocations: 2.986 MB / 1.407 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.237, allocations: 12 kB / 1.407 GB, free: 1.004 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/1.237, allocations: 12 kB / 1.407 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.237, allocations: 3.984 kB / 1.407 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.251, allocations: 7.337 MB / 1.414 GB, free: 9.449 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.251, allocations: 4 kB / 1.414 GB, free: 9.445 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/1.251, allocations: 179.7 kB / 1.415 GB, free: 9.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/1.254, allocations: 0.8221 MB / 1.415 GB, free: 8.41 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.254, allocations: 28 kB / 1.415 GB, free: 8.383 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/1.273, allocations: 21.94 MB / 1.437 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.273, allocations: 7.938 kB / 1.437 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/1.279, allocations: 3.022 MB / 1.44 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.28, allocations: 466.4 kB / 1.44 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/1.281, allocations: 27.94 kB / 1.44 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.282, allocations: 83.78 kB / 1.44 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/1.282, allocations: 124.7 kB / 1.441 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/1.282, allocations: 36 kB / 1.441 GB, free: 12.87 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00181/1.284, allocations: 0.9756 MB / 1.442 GB, free: 11.87 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.61e-07/1.284, allocations: 0 / 1.442 GB, free: 11.87 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003369/1.287, allocations: 0.7852 MB / 1.442 GB, free: 11.09 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005578/1.293, allocations: 3.614 MB / 1.446 GB, free: 7.348 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005761/1.299, allocations: 4.034 MB / 1.45 GB, free: 3.168 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.299, allocations: 1 kB / 1.45 GB, free: 3.168 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.302, allocations: 2.728 MB / 1.452 GB, free: 292 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/1.306, allocations: 0.739 MB / 1.453 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03742/1.343, allocations: 22.33 MB / 1.475 GB, free: 8.266 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004925/1.348, allocations: 3.109 MB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001546/1.35, allocations: 461.9 kB / 1.478 GB, free: 4.668 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.352, allocations: 1.538 MB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of SimCode: time 9.52e-07/1.352, allocations: 0 / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/1.494, allocations: 61.99 MB / 1.54 GB, free: 5.875 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.83, allocations: 6.594 kB / 1.54 GB, free: 5.871 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches