Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_L,fileNamePrefix="Buildings_11_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_11_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.004373/0.004377, allocations: 96.67 kB / 15.73 MB, free: 6.488 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.001233/0.001233, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.396/1.396, 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 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 75.95 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3111, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.592/0.9032, allocations: 32.6 MB / 1.252 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.9159, allocations: 10.26 MB / 1.262 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.918, allocations: 151.8 kB / 1.262 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007189/0.9252, allocations: 3.714 MB / 1.266 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.93, allocations: 1.854 MB / 1.268 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005087/0.9351, allocations: 2.141 MB / 1.27 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008218/0.9434, allocations: 7.326 MB / 1.277 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.954, allocations: 9.421 MB / 1.286 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.9589, allocations: 3.171 MB / 1.289 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/0.9644, allocations: 3.488 MB / 1.293 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001907/0.9663, allocations: 0.6446 MB / 1.293 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.9706, allocations: 1.771 MB / 1.295 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002905/0.9735, allocations: 2.543 MB / 1.297 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003938/0.9774, allocations: 2.899 MB / 1.3 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.9902, allocations: 10.13 MB / 1.31 GB, free: 11.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9903, allocations: 4 kB / 1.31 GB, free: 11.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9903, allocations: 1.406 kB / 1.31 GB, free: 11.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002382/0.9905, allocations: 0 / 1.31 GB, free: 11.81 MB / 1.014 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.01345/1.004, allocations: 5.122 MB / 1.315 GB, free: 8.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.004, allocations: 11.41 kB / 1.315 GB, free: 8.84 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001392/1.005, allocations: 0.6826 MB / 1.316 GB, free: 8.422 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/1.011, allocations: 0.9783 MB / 1.317 GB, free: 7.934 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006509/1.018, allocations: 3.059 MB / 1.32 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/1.018, allocations: 348.5 kB / 1.32 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009374/1.019, allocations: 465.9 kB / 1.321 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/1.032, allocations: 7.664 MB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/1.032, allocations: 33.77 kB / 1.328 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/1.033, allocations: 204.2 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003141/1.033, allocations: 311.4 kB / 1.329 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009941/1.043, allocations: 5.708 MB / 1.334 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/1.078, allocations: 34.89 MB / 1.368 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/1.081, allocations: 2.157 MB / 1.37 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/1.083, allocations: 1.269 MB / 1.372 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.615e-05/1.083, allocations: 13.31 kB / 1.372 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.083, allocations: 43.88 kB / 1.372 GB, free: 9.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=133): time 2.765e-06/1.083, allocations: 0 / 1.372 GB, free: 9.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=136): time 0.01337/1.096, allocations: 7.154 MB / 1.379 GB, free: 2.184 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.096, allocations: 64.72 kB / 1.379 GB, free: 2.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/1.098, allocations: 1.48 MB / 1.38 GB, free: 0.582 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/1.098, allocations: 45.7 kB / 1.38 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/1.099, allocations: 2.081 MB / 1.382 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/1.1, allocations: 0.4996 MB / 1.383 GB, free: 13.92 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005023/1.1, allocations: 343.4 kB / 1.383 GB, free: 13.58 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.101, allocations: 305.1 kB / 1.383 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.102, allocations: 0.9135 MB / 1.384 GB, free: 12.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/1.104, allocations: 1.597 MB / 1.386 GB, free: 10.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.107, allocations: 2.733 MB / 1.388 GB, free: 7.414 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/1.107, allocations: 8 kB / 1.388 GB, free: 7.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005847/1.113, allocations: 3.535 MB / 1.392 GB, free: 3.828 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.113, allocations: 21.66 kB / 1.392 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/1.113, allocations: 20 kB / 1.392 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/1.115, allocations: 0.9006 MB / 1.393 GB, free: 2.852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.116, allocations: 355.3 kB / 1.393 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/1.138, allocations: 23.12 MB / 1.416 GB, free: 9.703 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.139, allocations: 99.92 kB / 1.416 GB, free: 9.605 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/1.14, allocations: 87.98 kB / 1.416 GB, free: 9.52 MB / 1.107 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.002796/1.142, allocations: 1.604 MB / 1.417 GB, free: 7.906 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/1.143, allocations: 222.6 kB / 1.418 GB, free: 7.688 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/1.148, allocations: 2.994 MB / 1.421 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.148, allocations: 12 kB / 1.421 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/1.148, allocations: 8 kB / 1.421 GB, free: 4.625 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.148, allocations: 15.91 kB / 1.421 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.159, allocations: 7.333 MB / 1.428 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.159, allocations: 4 kB / 1.428 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/1.16, allocations: 175.7 kB / 1.428 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.163, allocations: 0.8302 MB / 1.429 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/1.163, allocations: 28 kB / 1.429 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/1.183, allocations: 21.96 MB / 1.45 GB, free: 4.332 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.183, allocations: 12 kB / 1.45 GB, free: 4.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/1.188, allocations: 3.034 MB / 1.453 GB, free: 1.176 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/1.189, allocations: 475.5 kB / 1.454 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.189, allocations: 32 kB / 1.454 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/1.19, allocations: 67.91 kB / 1.454 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/1.19, allocations: 128.7 kB / 1.454 GB, free: 480 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/1.19, allocations: 36 kB / 1.454 GB, free: 444 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001371/1.192, allocations: 0.9757 MB / 1.455 GB, free: 15.43 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.192, allocations: 0 / 1.455 GB, free: 15.43 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002837/1.194, allocations: 0.7891 MB / 1.456 GB, free: 14.64 MB / 1.154 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.005725/1.2, allocations: 3.634 MB / 1.459 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006463/1.207, allocations: 4.047 MB / 1.463 GB, free: 6.695 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.207, allocations: 0 / 1.463 GB, free: 6.695 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004091/1.211, allocations: 2.74 MB / 1.466 GB, free: 3.801 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.214, allocations: 0.7292 MB / 1.467 GB, free: 3.102 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/1.251, allocations: 22.47 MB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004172/1.256, allocations: 3.113 MB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00136/1.257, allocations: 450 kB / 1.492 GB, free: 8.023 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.259, allocations: 1.538 MB / 1.493 GB, free: 6.484 MB / 1.186 GB Notification: Performance of SimCode: time 8.92e-07/1.259, allocations: 0 / 1.493 GB, free: 6.484 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.415/3.674, allocations: 61.43 MB / 1.553 GB, free: 9.719 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.43/23.1, allocations: 22.27 kB / 1.553 GB, free: 9.699 MB / 1.248 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches