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.00886/0.00886, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.002008/0.002008, allocations: 183.8 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.553/2.553, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 72.09 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2567, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03315/0.2899, allocations: 32.61 MB / 1.239 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5495/0.8395, allocations: 10.26 MB / 1.249 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.8422, allocations: 148.4 kB / 1.249 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007912/0.8502, allocations: 3.725 MB / 1.253 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.8548, allocations: 1.853 MB / 1.255 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.8599, allocations: 2.132 MB / 1.257 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008552/0.8684, allocations: 7.324 MB / 1.264 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01366/0.8821, allocations: 9.418 MB / 1.273 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/0.888, allocations: 3.225 MB / 1.276 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006119/0.8942, allocations: 3.48 MB / 1.28 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002212/0.8964, allocations: 0.6453 MB / 1.28 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/0.9018, allocations: 1.769 MB / 1.282 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004491/0.9063, allocations: 2.547 MB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006326/0.9126, allocations: 2.899 MB / 1.287 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.9275, allocations: 10.11 MB / 1.297 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9275, allocations: 0 / 1.297 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9275, allocations: 1.031 kB / 1.297 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003119/0.9278, allocations: 0 / 1.297 GB, free: 3.293 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.01406/0.9419, allocations: 5.004 MB / 1.302 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.942, allocations: 10.12 kB / 1.302 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001542/0.9435, allocations: 0.6863 MB / 1.303 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005663/0.9492, allocations: 0.9501 MB / 1.304 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00784/0.957, allocations: 3.041 MB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.9574, allocations: 350.1 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.9592, allocations: 458.5 kB / 1.308 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.9768, allocations: 7.673 MB / 1.315 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.977, allocations: 25.88 kB / 1.315 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.978, allocations: 196.4 kB / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003655/0.9784, allocations: 318.3 kB / 1.316 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.9908, allocations: 5.705 MB / 1.321 GB, free: 6.785 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03857/1.029, allocations: 34.83 MB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.032, allocations: 2.154 MB / 1.357 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.034, allocations: 1.266 MB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.222e-05/1.034, allocations: 17 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.034, allocations: 54 kB / 1.359 GB, free: 4.156 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.226e-06/1.034, allocations: 0 / 1.359 GB, free: 4.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.0135/1.047, allocations: 7.092 MB / 1.365 GB, free: 14.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.047, allocations: 68.72 kB / 1.365 GB, free: 14.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/1.049, allocations: 1.484 MB / 1.367 GB, free: 12.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.049, allocations: 45.7 kB / 1.367 GB, free: 12.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.051, allocations: 2.001 MB / 1.369 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004721/1.051, allocations: 491.9 kB / 1.369 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/1.052, allocations: 351.1 kB / 1.37 GB, free: 9.914 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.052, allocations: 305.1 kB / 1.37 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.053, allocations: 0.9096 MB / 1.371 GB, free: 8.703 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.055, allocations: 1.603 MB / 1.372 GB, free: 6.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.058, allocations: 2.727 MB / 1.375 GB, free: 3.762 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/1.058, allocations: 8 kB / 1.375 GB, free: 3.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006406/1.065, allocations: 3.532 MB / 1.379 GB, free: 180 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.065, allocations: 16 kB / 1.379 GB, free: 164 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/1.065, allocations: 23.98 kB / 1.379 GB, free: 140 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/1.067, allocations: 0.9023 MB / 1.38 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.069, allocations: 347.4 kB / 1.38 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/1.09, allocations: 23.1 MB / 1.402 GB, free: 6.102 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.092, allocations: 99.95 kB / 1.403 GB, free: 6.004 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/1.092, allocations: 88 kB / 1.403 GB, free: 5.918 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.003091/1.095, allocations: 1.613 MB / 1.404 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005685/1.096, allocations: 209.5 kB / 1.404 GB, free: 4.086 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/1.101, allocations: 2.975 MB / 1.407 GB, free: 1.062 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.101, allocations: 16 kB / 1.407 GB, free: 1.047 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/1.101, allocations: 11.98 kB / 1.407 GB, free: 1.035 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/1.101, allocations: 7.969 kB / 1.407 GB, free: 1.027 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.115, allocations: 7.346 MB / 1.414 GB, free: 9.477 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.115, allocations: 8.094 kB / 1.415 GB, free: 9.469 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/1.116, allocations: 179.7 kB / 1.415 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/1.118, allocations: 0.8171 MB / 1.415 GB, free: 8.441 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.118, allocations: 32 kB / 1.416 GB, free: 8.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/1.137, allocations: 21.94 MB / 1.437 GB, free: 0.793 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/1.137, allocations: 7.938 kB / 1.437 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/1.142, allocations: 3.02 MB / 1.44 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.143, allocations: 462.4 kB / 1.44 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/1.144, allocations: 35.92 kB / 1.44 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.145, allocations: 71.86 kB / 1.44 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/1.145, allocations: 124.7 kB / 1.441 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/1.145, allocations: 40 kB / 1.441 GB, free: 12.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001487/1.147, allocations: 0.9795 MB / 1.442 GB, free: 11.91 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.147, allocations: 0 / 1.442 GB, free: 11.91 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002911/1.15, allocations: 0.7852 MB / 1.442 GB, free: 11.12 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.005086/1.155, allocations: 3.61 MB / 1.446 GB, free: 7.391 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005487/1.16, allocations: 4.042 MB / 1.45 GB, free: 3.199 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.16, allocations: 4 kB / 1.45 GB, free: 3.195 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003596/1.164, allocations: 2.729 MB / 1.452 GB, free: 324 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.168, allocations: 0.7349 MB / 1.453 GB, free: 15.61 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/1.205, allocations: 22.33 MB / 1.475 GB, free: 8.281 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004473/1.209, allocations: 3.105 MB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00133/1.21, allocations: 461.9 kB / 1.478 GB, free: 4.688 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/1.212, allocations: 1.534 MB / 1.48 GB, free: 3.152 MB / 1.17 GB Notification: Performance of SimCode: time 7.52e-07/1.212, allocations: 0 / 1.48 GB, free: 3.152 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/1.329, allocations: 61.98 MB / 1.54 GB, free: 5.895 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.67, allocations: 6.906 kB / 1.54 GB, free: 5.891 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