Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.007156/0.007156, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001354/0.001354, allocations: 193 kB / 16.67 MB, free: 5.93 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8931/0.8945, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03569/0.9303, allocations: 33.36 MB / 1.199 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.9538, allocations: 14.82 MB / 1.213 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/0.958, allocations: 155.2 kB / 1.213 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009543/0.9676, allocations: 3.662 MB / 1.217 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.9779, allocations: 2.985 MB / 1.22 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008628/0.9866, allocations: 2.321 MB / 1.222 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01346/1, allocations: 8.84 MB / 1.231 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01407/1.014, allocations: 9.57 MB / 1.24 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008279/1.023, allocations: 4.02 MB / 1.244 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008459/1.031, allocations: 4.03 MB / 1.248 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003264/1.034, allocations: 0.7148 MB / 1.249 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007459/1.042, allocations: 1.724 MB / 1.25 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005972/1.048, allocations: 2.83 MB / 1.253 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007979/1.056, allocations: 3.396 MB / 1.256 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.07, allocations: 11.18 MB / 1.267 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.07, allocations: 4 kB / 1.267 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.07, allocations: 0 / 1.267 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003693/1.071, allocations: 0 / 1.267 GB, free: 11.77 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01616/1.087, allocations: 5.979 MB / 1.273 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.087, allocations: 8.922 kB / 1.273 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001906/1.089, allocations: 0.731 MB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006783/1.096, allocations: 1.134 MB / 1.275 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007239/1.103, allocations: 3.524 MB / 1.278 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/1.103, allocations: 374.5 kB / 1.279 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/1.104, allocations: 499.7 kB / 1.279 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/1.119, allocations: 8.005 MB / 1.287 GB, free: 7.086 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/1.119, allocations: 23.72 kB / 1.287 GB, free: 7.062 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/1.12, allocations: 216 kB / 1.287 GB, free: 6.852 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009539/1.121, allocations: 441.5 kB / 1.288 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/1.131, allocations: 6.085 MB / 1.294 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03933/1.171, allocations: 34.89 MB / 1.328 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/1.173, allocations: 2.03 MB / 1.33 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/1.176, allocations: 1.869 MB / 1.332 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/1.176, allocations: 22 kB / 1.332 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.176, allocations: 56.5 kB / 1.332 GB, free: 6.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.125e-06/1.176, allocations: 0 / 1.332 GB, free: 6.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1427/1.319, allocations: 38.9 MB / 1.37 GB, free: 15.26 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.319, allocations: 81.58 kB / 1.37 GB, free: 15.16 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.323, allocations: 2.282 MB / 1.372 GB, free: 12.87 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/1.324, allocations: 69.7 kB / 1.372 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.325, allocations: 2.28 MB / 1.374 GB, free: 10.48 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.327, allocations: 0.9357 MB / 1.375 GB, free: 9.535 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.328, allocations: 0.5061 MB / 1.376 GB, free: 9.02 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.328, allocations: 305.1 kB / 1.376 GB, free: 8.719 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/1.331, allocations: 1.973 MB / 1.378 GB, free: 6.742 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/1.334, allocations: 2.606 MB / 1.38 GB, free: 3.891 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/1.341, allocations: 4.933 MB / 1.385 GB, free: 14.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/1.341, allocations: 4 kB / 1.385 GB, free: 14.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01561/1.357, allocations: 7.749 MB / 1.393 GB, free: 6.859 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/1.357, allocations: 13 kB / 1.393 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/1.357, allocations: 20 kB / 1.393 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009654/1.367, allocations: 3.217 MB / 1.396 GB, free: 3.594 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.368, allocations: 399.3 kB / 1.396 GB, free: 3.203 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04491/1.413, allocations: 33.87 MB / 1.429 GB, free: 500 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.416, allocations: 163.8 kB / 1.43 GB, free: 336 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005065/1.417, allocations: 108 kB / 1.43 GB, free: 228 kB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003257/1.42, allocations: 1.802 MB / 1.431 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008592/1.421, allocations: 332 kB / 1.432 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/1.435, allocations: 7.357 MB / 1.439 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/1.435, allocations: 24 kB / 1.439 GB, free: 6.617 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.24e-05/1.436, allocations: 35.98 kB / 1.439 GB, free: 6.582 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/1.436, allocations: 11.95 kB / 1.439 GB, free: 6.57 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/1.46, allocations: 12.92 MB / 1.452 GB, free: 9.477 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/1.46, allocations: 4 kB / 1.452 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.461, allocations: 236 kB / 1.452 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008637/1.469, allocations: 2.853 MB / 1.455 GB, free: 6.371 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004591/1.47, allocations: 52 kB / 1.455 GB, free: 6.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04357/1.513, allocations: 32.67 MB / 1.487 GB, free: 4.789 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/1.514, allocations: 11.94 kB / 1.487 GB, free: 4.777 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/1.527, allocations: 6.898 MB / 1.493 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.529, allocations: 0.7744 MB / 1.494 GB, free: 12.87 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.53, allocations: 59.92 kB / 1.494 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.532, allocations: 167.8 kB / 1.494 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/1.533, allocations: 253.5 kB / 1.495 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/1.534, allocations: 72 kB / 1.495 GB, free: 12.32 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002645/1.536, allocations: 1.529 MB / 1.496 GB, free: 10.79 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.61e-07/1.536, allocations: 0 / 1.496 GB, free: 10.79 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005231/1.542, allocations: 1.367 MB / 1.497 GB, free: 9.426 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01292/1.555, allocations: 7.519 MB / 1.505 GB, free: 1.684 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.567, allocations: 6.927 MB / 1.512 GB, free: 10.66 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/1.567, allocations: 4 kB / 1.512 GB, free: 10.66 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008265/1.575, allocations: 4.403 MB / 1.516 GB, free: 6.18 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.58, allocations: 1.112 MB / 1.517 GB, free: 5.105 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7823/2.363, allocations: 39.02 MB / 1.555 GB, free: 354.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005638/2.368, allocations: 3.644 MB / 1.559 GB, free: 353.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002087/2.37, allocations: 0.5592 MB / 1.559 GB, free: 353.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/2.373, allocations: 1.969 MB / 1.561 GB, free: 353.5 MB / 1.279 GB Notification: Performance of SimCode: time 1.263e-06/2.373, allocations: 0 / 1.561 GB, free: 353.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/2.533, allocations: 111.6 MB / 1.67 GB, free: 263.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/18.77, allocations: 16 kB / 1.67 GB, free: 263.8 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches