Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.007118/0.007118, 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.001687/0.001687, allocations: 202.5 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.759/2.759, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2763, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01643/0.2927, allocations: 14.05 MB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3064, allocations: 9.399 MB / 1.243 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.3074, allocations: 51.69 kB / 1.243 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004065/0.3115, allocations: 1.673 MB / 1.245 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.3154, allocations: 1.547 MB / 1.246 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.3171, allocations: 0.756 MB / 1.247 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.3202, allocations: 2.516 MB / 1.249 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5152/0.8354, allocations: 1.401 MB / 1.251 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.8372, allocations: 1.042 MB / 1.252 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.8388, allocations: 1.141 MB / 1.253 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.8391, allocations: 164.9 kB / 1.253 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.8405, allocations: 0.7927 MB / 1.254 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.8411, allocations: 0.6207 MB / 1.254 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008049/0.8419, allocations: 0.9438 MB / 1.255 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.8446, allocations: 2.76 MB / 1.258 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.8446, allocations: 3.312 kB / 1.258 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8446, allocations: 4 kB / 1.258 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.576e-05/0.8447, allocations: 0 / 1.258 GB, free: 7.438 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003479/0.8482, allocations: 2.192 MB / 1.26 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8482, allocations: 9.031 kB / 1.26 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.8484, allocations: 196.7 kB / 1.26 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.8597, allocations: 2.093 MB / 1.263 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.8625, allocations: 1.305 MB / 1.264 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.8626, allocations: 90.03 kB / 1.264 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.8629, allocations: 122.1 kB / 1.264 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/0.8688, allocations: 2.677 MB / 1.267 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.8688, allocations: 7.562 kB / 1.267 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.869, allocations: 56 kB / 1.267 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006481/0.8697, allocations: 180 kB / 1.267 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008166/0.8778, allocations: 2.8 MB / 1.27 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.891, allocations: 10.47 MB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007064/0.8981, allocations: 2.524 MB / 1.282 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003183/0.9013, allocations: 1.288 MB / 1.284 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.9014, allocations: 8.875 kB / 1.284 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.9015, allocations: 45.73 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 5.189e-06/0.9015, allocations: 1.219 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.04706/0.9485, allocations: 13.4 MB / 1.297 GB, free: 12.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.9486, allocations: 69.62 kB / 1.297 GB, free: 12.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.9502, allocations: 1.115 MB / 1.298 GB, free: 11.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.9504, allocations: 50.77 kB / 1.298 GB, free: 11.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.9511, allocations: 0.7245 MB / 1.299 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005643/0.9516, allocations: 469.7 kB / 1.299 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005589/0.9522, allocations: 268.8 kB / 1.299 GB, free: 10.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.9524, allocations: 365.9 kB / 1.3 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003392/0.9558, allocations: 1.335 MB / 1.301 GB, free: 9.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.9594, allocations: 1.602 MB / 1.302 GB, free: 9.312 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007125/0.9666, allocations: 2.991 MB / 1.305 GB, free: 8.148 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.9666, allocations: 1.25 kB / 1.305 GB, free: 8.148 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0124/0.979, allocations: 4.454 MB / 1.31 GB, free: 5.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.9791, allocations: 11.62 kB / 1.31 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9791, allocations: 6.938 kB / 1.31 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/0.9844, allocations: 1.428 MB / 1.311 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.9865, allocations: 440.7 kB / 1.312 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03019/1.017, allocations: 26.7 MB / 1.338 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.02, allocations: 299.3 kB / 1.338 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.02, allocations: 62.41 kB / 1.338 GB, free: 12.91 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008636/1.021, allocations: 441.6 kB / 1.338 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/1.021, allocations: 172.8 kB / 1.339 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.033, allocations: 4.456 MB / 1.343 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.033, allocations: 12.31 kB / 1.343 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.033, allocations: 15.28 kB / 1.343 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.033, allocations: 3.984 kB / 1.343 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/1.048, allocations: 6.764 MB / 1.35 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.048, allocations: 2.531 kB / 1.35 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.05, allocations: 384.8 kB / 1.35 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/1.055, allocations: 1.3 MB / 1.351 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.055, allocations: 43.19 kB / 1.351 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/1.082, allocations: 25.52 MB / 1.376 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.082, allocations: 3.984 kB / 1.376 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.094, allocations: 4.218 MB / 1.38 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.095, allocations: 467.8 kB / 1.381 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/1.095, allocations: 24 kB / 1.381 GB, free: 7.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.097, allocations: 307.5 kB / 1.381 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.098, allocations: 128.8 kB / 1.381 GB, free: 7.441 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.098, allocations: 47.97 kB / 1.381 GB, free: 7.395 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001076/1.099, allocations: 0.7487 MB / 1.382 GB, free: 6.645 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.099, allocations: 0 / 1.382 GB, free: 6.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002022/1.101, allocations: 0.5703 MB / 1.383 GB, free: 6.074 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/1.113, allocations: 4.803 MB / 1.387 GB, free: 1.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.124, allocations: 5.147 MB / 1.392 GB, free: 11.95 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.124, allocations: 1.406 kB / 1.392 GB, free: 11.95 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007113/1.131, allocations: 3.501 MB / 1.396 GB, free: 8.309 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/1.134, allocations: 0.5454 MB / 1.396 GB, free: 7.785 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/1.177, allocations: 19.42 MB / 1.415 GB, free: 4.109 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.179, allocations: 1.477 MB / 1.417 GB, free: 2.598 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001551/1.18, allocations: 421.6 kB / 1.417 GB, free: 2.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009674/1.181, allocations: 0.632 MB / 1.418 GB, free: 1.547 MB / 1.107 GB Notification: Performance of SimCode: time 5.41e-07/1.181, allocations: 0 / 1.418 GB, free: 1.547 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8859/2.067, allocations: 51.69 MB / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/23.99, allocations: 3.625 kB / 1.468 GB, free: 14.62 MB / 1.17 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches