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.004963/0.004963, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001132/0.001132, allocations: 198.3 kB / 16.68 MB, free: 5.965 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.086/2.086, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7042, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03644/0.7407, allocations: 35.12 MB / 1.122 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.7565, allocations: 9.939 MB / 1.131 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.7599, allocations: 148.1 kB / 1.132 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.008659/0.7686, allocations: 3.796 MB / 1.135 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.7753, allocations: 2.03 MB / 1.137 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005729/0.781, allocations: 1.97 MB / 1.139 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01317/0.7942, allocations: 7.97 MB / 1.147 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.8064, allocations: 9.533 MB / 1.156 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006161/0.8126, allocations: 3.368 MB / 1.16 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006679/0.8193, allocations: 3.736 MB / 1.163 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.8213, allocations: 0.6782 MB / 1.164 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.8254, allocations: 1.443 MB / 1.165 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.8289, allocations: 2.621 MB / 1.168 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005836/0.8347, allocations: 3.103 MB / 1.171 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.8462, allocations: 10.38 MB / 1.181 GB, free: 11.76 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.8462, allocations: 0 / 1.181 GB, free: 11.76 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8462, allocations: 0 / 1.181 GB, free: 11.76 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002422/0.8465, allocations: 5.438 kB / 1.181 GB, free: 11.76 MB / 0.92 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.01166/0.8581, allocations: 5.403 MB / 1.186 GB, free: 8.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8582, allocations: 17.48 kB / 1.186 GB, free: 8.168 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009779/0.8592, allocations: 0.6958 MB / 1.187 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00437/0.8636, allocations: 0.9664 MB / 1.188 GB, free: 7.027 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/0.8691, allocations: 3.182 MB / 1.191 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.8694, allocations: 353.9 kB / 1.191 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006804/0.87, allocations: 464.3 kB / 1.192 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.8809, allocations: 7.906 MB / 1.2 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-05/0.881, allocations: 23.77 kB / 1.2 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004629/0.8815, allocations: 215.9 kB / 1.2 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004533/0.882, allocations: 369.1 kB / 1.2 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008231/0.8902, allocations: 5.941 MB / 1.206 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/0.9224, allocations: 35.94 MB / 1.241 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.9255, allocations: 2.139 MB / 1.243 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.9273, allocations: 1.477 MB / 1.245 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.9274, allocations: 21.31 kB / 1.245 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.9275, allocations: 55.81 kB / 1.245 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.336e-06/0.9275, allocations: 4 kB / 1.245 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01306/0.9405, allocations: 7.536 MB / 1.252 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.9406, allocations: 72.72 kB / 1.252 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.9431, allocations: 1.86 MB / 1.254 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.9432, allocations: 53.7 kB / 1.254 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.9443, allocations: 2.131 MB / 1.256 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.9447, allocations: 0.5468 MB / 1.257 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005761/0.9453, allocations: 407.7 kB / 1.257 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.9454, allocations: 305.1 kB / 1.257 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.9468, allocations: 1.058 MB / 1.258 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.9486, allocations: 1.76 MB / 1.26 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/0.952, allocations: 3.053 MB / 1.263 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.952, allocations: 8 kB / 1.263 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005861/0.9579, allocations: 3.921 MB / 1.267 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.9579, allocations: 16.25 kB / 1.267 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.9579, allocations: 24 kB / 1.267 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.9603, allocations: 0.935 MB / 1.268 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.9617, allocations: 423.3 kB / 1.268 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/0.9801, allocations: 22.76 MB / 1.29 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.9821, allocations: 119.9 kB / 1.291 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.9824, allocations: 95.98 kB / 1.291 GB, free: 7.445 MB / 1.029 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.002639/0.9851, allocations: 1.657 MB / 1.292 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/0.9856, allocations: 257 kB / 1.293 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/0.9907, allocations: 3.26 MB / 1.296 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.9908, allocations: 16 kB / 1.296 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/0.9908, allocations: 11.98 kB / 1.296 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.9908, allocations: 3.984 kB / 1.296 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.003, allocations: 7.552 MB / 1.303 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/1.003, allocations: 4 kB / 1.303 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/1.004, allocations: 219.6 kB / 1.303 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/1.006, allocations: 0.8887 MB / 1.304 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.006, allocations: 32 kB / 1.304 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/1.024, allocations: 22.73 MB / 1.326 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.024, allocations: 8.062 kB / 1.326 GB, free: 0.875 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005266/1.029, allocations: 3.387 MB / 1.33 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.031, allocations: 0.5292 MB / 1.33 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/1.031, allocations: 35.94 kB / 1.33 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.033, allocations: 95.88 kB / 1.33 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/1.033, allocations: 137 kB / 1.33 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.033, allocations: 48 kB / 1.331 GB, free: 12.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001739/1.035, allocations: 1.229 MB / 1.332 GB, free: 11.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.035, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003009/1.038, allocations: 0.9023 MB / 1.333 GB, free: 10.37 MB / 1.076 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.005093/1.043, allocations: 3.987 MB / 1.337 GB, free: 6.258 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005832/1.049, allocations: 4.429 MB / 1.341 GB, free: 1.684 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.049, allocations: 4 kB / 1.341 GB, free: 1.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/1.053, allocations: 2.996 MB / 1.344 GB, free: 14.53 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/1.056, allocations: 0.8286 MB / 1.345 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/1.093, allocations: 25.04 MB / 1.369 GB, free: 3.578 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004335/1.097, allocations: 3.209 MB / 1.372 GB, free: 344 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001688/1.099, allocations: 0.5293 MB / 1.373 GB, free: 15.8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.101, allocations: 1.657 MB / 1.374 GB, free: 14.14 MB / 1.123 GB Notification: Performance of SimCode: time 1.923e-06/1.101, allocations: 0 / 1.374 GB, free: 14.14 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9985/2.099, allocations: 70.25 MB / 1.443 GB, free: 8.766 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/20.07, allocations: 6.562 kB / 1.443 GB, free: 8.762 MB / 1.186 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