Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.01012/0.01012, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001927/0.001927, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.574/2.574, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 66.3 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2718, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03822/0.3101, allocations: 35.12 MB / 1.122 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3266, allocations: 9.941 MB / 1.131 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.3303, allocations: 147.2 kB / 1.132 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00953/0.3399, allocations: 3.8 MB / 1.135 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.347, allocations: 2.036 MB / 1.137 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.3526, allocations: 1.964 MB / 1.139 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3635, allocations: 7.967 MB / 1.147 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.3774, allocations: 9.525 MB / 1.156 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006002/0.3834, allocations: 3.42 MB / 1.16 GB, free: 7.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008255/0.3917, allocations: 3.738 MB / 1.163 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003006/0.3948, allocations: 0.6797 MB / 1.164 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.4, allocations: 1.44 MB / 1.165 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005098/0.4051, allocations: 2.624 MB / 1.168 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.007903/0.4131, allocations: 3.101 MB / 1.171 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.4284, allocations: 10.39 MB / 1.181 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.4284, allocations: 4 kB / 1.181 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4284, allocations: 0 / 1.181 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003904/0.4288, allocations: 4 kB / 1.181 GB, free: 1.746 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01655/0.4454, allocations: 5.397 MB / 1.186 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.4455, allocations: 12.03 kB / 1.186 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002673/0.4482, allocations: 0.6984 MB / 1.187 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005915/0.4541, allocations: 0.9626 MB / 1.188 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007059/0.4612, allocations: 3.186 MB / 1.191 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.4616, allocations: 361.9 kB / 1.191 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.4631, allocations: 464.3 kB / 1.192 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.4803, allocations: 7.906 MB / 1.2 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.4805, allocations: 23.72 kB / 1.2 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/0.4818, allocations: 212 kB / 1.2 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005561/0.4823, allocations: 373.1 kB / 1.2 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.4954, allocations: 5.933 MB / 1.206 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04604/0.5414, allocations: 35.94 MB / 1.241 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.545, allocations: 2.138 MB / 1.243 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.5471, allocations: 1.48 MB / 1.245 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.5473, allocations: 17.31 kB / 1.245 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.5474, allocations: 59.75 kB / 1.245 GB, free: 12.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 3.927e-06/0.5474, allocations: 4 kB / 1.245 GB, free: 12.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.01549/0.5629, allocations: 7.536 MB / 1.252 GB, free: 5.008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.5629, allocations: 72.72 kB / 1.252 GB, free: 4.926 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.5665, allocations: 1.856 MB / 1.254 GB, free: 3.043 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.5668, allocations: 57.7 kB / 1.254 GB, free: 2.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.5687, allocations: 2.127 MB / 1.256 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/0.5694, allocations: 0.5546 MB / 1.257 GB, free: 272 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5969/1.166, allocations: 399.1 kB / 1.257 GB, free: 155 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/1.166, allocations: 304.8 kB / 1.257 GB, free: 154.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.168, allocations: 1.058 MB / 1.258 GB, free: 154.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.17, allocations: 1.763 MB / 1.26 GB, free: 153.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/1.175, allocations: 3.046 MB / 1.263 GB, free: 152.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/1.175, allocations: 10.78 kB / 1.263 GB, free: 152.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007732/1.183, allocations: 3.921 MB / 1.267 GB, free: 150.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/1.183, allocations: 14.97 kB / 1.267 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.813e-05/1.183, allocations: 22.19 kB / 1.267 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/1.186, allocations: 0.9359 MB / 1.268 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/1.188, allocations: 424.5 kB / 1.268 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/1.206, allocations: 22.75 MB / 1.29 GB, free: 131.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.208, allocations: 120.5 kB / 1.291 GB, free: 131 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/1.208, allocations: 95.91 kB / 1.291 GB, free: 131 MB / 1.014 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003133/1.211, allocations: 1.649 MB / 1.292 GB, free: 130.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000586/1.212, allocations: 258.3 kB / 1.293 GB, free: 130.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005734/1.218, allocations: 3.263 MB / 1.296 GB, free: 128.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/1.218, allocations: 15.59 kB / 1.296 GB, free: 128.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/1.218, allocations: 10.89 kB / 1.296 GB, free: 128.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.218, allocations: 13.8 kB / 1.296 GB, free: 128.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.232, allocations: 7.548 MB / 1.303 GB, free: 125.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.232, allocations: 8.281 kB / 1.303 GB, free: 125.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/1.233, allocations: 214.8 kB / 1.303 GB, free: 125.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/1.236, allocations: 0.894 MB / 1.304 GB, free: 125.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.236, allocations: 32.38 kB / 1.304 GB, free: 125.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/1.253, allocations: 22.74 MB / 1.326 GB, free: 106.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.253, allocations: 6.094 kB / 1.326 GB, free: 106.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/1.259, allocations: 3.378 MB / 1.33 GB, free: 104.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/1.26, allocations: 0.5363 MB / 1.33 GB, free: 104.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/1.26, allocations: 35.81 kB / 1.33 GB, free: 104.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.261, allocations: 89.08 kB / 1.33 GB, free: 104.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/1.262, allocations: 137.4 kB / 1.331 GB, free: 104 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/1.262, allocations: 49.59 kB / 1.331 GB, free: 104 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001391/1.263, allocations: 1.223 MB / 1.332 GB, free: 103.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.263, allocations: 0 / 1.332 GB, free: 103.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002832/1.266, allocations: 0.9056 MB / 1.333 GB, free: 103.5 MB / 1.014 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004475/1.27, allocations: 3.986 MB / 1.337 GB, free: 101.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005367/1.276, allocations: 4.438 MB / 1.341 GB, free: 98.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.276, allocations: 3.812 kB / 1.341 GB, free: 98.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/1.279, allocations: 2.989 MB / 1.344 GB, free: 96.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/1.283, allocations: 0.8209 MB / 1.345 GB, free: 95.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03935/1.322, allocations: 25.04 MB / 1.369 GB, free: 70.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004201/1.326, allocations: 3.205 MB / 1.372 GB, free: 66.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002018/1.328, allocations: 0.5332 MB / 1.373 GB, free: 66.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/1.33, allocations: 1.647 MB / 1.374 GB, free: 64.72 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.33, allocations: 3.938 kB / 1.374 GB, free: 64.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/1.48, allocations: 70.98 MB / 1.444 GB, free: 10.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/16.21, allocations: 0 / 1.444 GB, free: 10.52 MB / 1.029 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches