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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00791/0.00791, allocations: 97.62 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.002013/0.002013, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.656/2.656, allocations: 469.4 MB / 0.7422 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 63.89 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3128, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.6339/0.9468, allocations: 32.6 MB / 1.252 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.9615, allocations: 10.26 MB / 1.262 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.9647, allocations: 149.5 kB / 1.262 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008478/0.9733, allocations: 3.723 MB / 1.265 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005485/0.9788, allocations: 1.948 MB / 1.267 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00558/0.9844, allocations: 2.138 MB / 1.269 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009329/0.9937, allocations: 7.338 MB / 1.277 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01356/1.007, allocations: 9.424 MB / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006806/1.014, allocations: 3.226 MB / 1.289 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006698/1.021, allocations: 3.479 MB / 1.292 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002461/1.023, allocations: 0.6458 MB / 1.293 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005496/1.029, allocations: 1.774 MB / 1.295 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004653/1.034, allocations: 2.548 MB / 1.297 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008176/1.042, allocations: 2.939 MB / 1.3 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0183/1.06, allocations: 10.13 MB / 1.31 GB, free: 12.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.06, allocations: 0 / 1.31 GB, free: 12.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/1.06, allocations: 4 kB / 1.31 GB, free: 12.06 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003549/1.061, allocations: 1.406 kB / 1.31 GB, free: 12.06 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.01759/1.078, allocations: 5.12 MB / 1.315 GB, free: 9.098 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.078, allocations: 9.062 kB / 1.315 GB, free: 9.098 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003126/1.081, allocations: 0.6817 MB / 1.316 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/1.089, allocations: 0.9788 MB / 1.317 GB, free: 8.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/1.097, allocations: 3.059 MB / 1.32 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/1.098, allocations: 348.1 kB / 1.32 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/1.1, allocations: 466.2 kB / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/1.121, allocations: 7.665 MB / 1.328 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003234/1.121, allocations: 37.39 kB / 1.328 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001932/1.123, allocations: 205 kB / 1.328 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004747/1.123, allocations: 307.2 kB / 1.328 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/1.138, allocations: 5.716 MB / 1.334 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04533/1.183, allocations: 34.88 MB / 1.368 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/1.186, allocations: 2.156 MB / 1.37 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.188, allocations: 1.264 MB / 1.371 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.406e-05/1.188, allocations: 17.3 kB / 1.371 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.188, allocations: 51.88 kB / 1.371 GB, free: 9.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=133): time 3.376e-06/1.188, allocations: 0 / 1.371 GB, free: 9.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=136): time 0.01493/1.203, allocations: 7.149 MB / 1.378 GB, free: 2.484 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/1.203, allocations: 68.7 kB / 1.378 GB, free: 2.406 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/1.206, allocations: 1.476 MB / 1.38 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/1.206, allocations: 49.7 kB / 1.38 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.207, allocations: 2.073 MB / 1.382 GB, free: 14.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/1.208, allocations: 0.5035 MB / 1.382 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/1.208, allocations: 343.4 kB / 1.383 GB, free: 13.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/1.208, allocations: 309.1 kB / 1.383 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.21, allocations: 0.9135 MB / 1.384 GB, free: 12.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/1.211, allocations: 1.591 MB / 1.385 GB, free: 10.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/1.214, allocations: 2.733 MB / 1.388 GB, free: 7.727 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.215, allocations: 11.94 kB / 1.388 GB, free: 7.715 MB / 1.076 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005984/1.22, allocations: 3.535 MB / 1.392 GB, free: 4.133 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.221, allocations: 16 kB / 1.392 GB, free: 4.117 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/1.221, allocations: 27.94 kB / 1.392 GB, free: 4.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/1.223, allocations: 0.9043 MB / 1.393 GB, free: 3.148 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.224, allocations: 347.4 kB / 1.393 GB, free: 2.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.244, allocations: 23.12 MB / 1.415 GB, free: 10.01 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.246, allocations: 100 kB / 1.416 GB, free: 9.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/1.246, allocations: 84 kB / 1.416 GB, free: 9.828 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.002926/1.249, allocations: 1.602 MB / 1.417 GB, free: 8.215 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/1.25, allocations: 218.6 kB / 1.417 GB, free: 8 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005253/1.255, allocations: 2.998 MB / 1.42 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.255, allocations: 16 kB / 1.42 GB, free: 4.938 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/1.255, allocations: 12 kB / 1.42 GB, free: 4.926 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.255, allocations: 7.969 kB / 1.42 GB, free: 4.918 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.269, allocations: 7.337 MB / 1.428 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.27, allocations: 4 kB / 1.428 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/1.27, allocations: 171.7 kB / 1.428 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/1.273, allocations: 0.8337 MB / 1.429 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.273, allocations: 24 kB / 1.429 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.292, allocations: 21.96 MB / 1.45 GB, free: 4.633 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.292, allocations: 7.938 kB / 1.45 GB, free: 4.625 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/1.298, allocations: 3.034 MB / 1.453 GB, free: 1.477 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.299, allocations: 471.5 kB / 1.453 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005712/1.3, allocations: 31.94 kB / 1.453 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.301, allocations: 75.91 kB / 1.454 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/1.301, allocations: 128.7 kB / 1.454 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.301, allocations: 36 kB / 1.454 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001781/1.303, allocations: 0.9717 MB / 1.455 GB, free: 15.73 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.9e-07/1.303, allocations: 0 / 1.455 GB, free: 15.73 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003998/1.307, allocations: 0.7891 MB / 1.455 GB, free: 14.95 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.005557/1.313, allocations: 3.629 MB / 1.459 GB, free: 11.2 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005909/1.319, allocations: 4.039 MB / 1.463 GB, free: 7.004 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.319, allocations: 1 kB / 1.463 GB, free: 7.004 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/1.322, allocations: 2.74 MB / 1.466 GB, free: 4.109 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.326, allocations: 0.7319 MB / 1.466 GB, free: 3.402 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/1.367, allocations: 22.48 MB / 1.488 GB, free: 11.91 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005074/1.372, allocations: 3.109 MB / 1.491 GB, free: 8.77 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001473/1.373, allocations: 465.9 kB / 1.492 GB, free: 8.312 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/1.376, allocations: 1.534 MB / 1.493 GB, free: 6.777 MB / 1.186 GB Notification: Performance of SimCode: time 1.132e-06/1.376, allocations: 0 / 1.493 GB, free: 6.777 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.498, allocations: 61.42 MB / 1.553 GB, free: 10.01 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.67, allocations: 15.36 kB / 1.553 GB, free: 9.996 MB / 1.248 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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