Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.004861/0.004861, allocations: 100.9 kB / 15.73 MB, free: 5.992 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.001037/0.001037, allocations: 195.9 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2831, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01565/0.2988, allocations: 14.06 MB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3126, allocations: 9.387 MB / 1.23 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.314, allocations: 51.69 kB / 1.23 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.3185, allocations: 1.686 MB / 1.232 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.3232, allocations: 1.543 MB / 1.233 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.3254, allocations: 0.7555 MB / 1.234 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.3289, allocations: 2.516 MB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.3309, allocations: 1.415 MB / 1.238 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.3325, allocations: 1.071 MB / 1.239 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.3343, allocations: 1.136 MB / 1.24 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004034/0.3347, allocations: 168 kB / 1.24 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.3363, allocations: 0.7799 MB / 1.241 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.3371, allocations: 0.6232 MB / 1.242 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.3385, allocations: 0.9485 MB / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.3418, allocations: 2.745 MB / 1.245 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3418, allocations: 7.938 kB / 1.245 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3418, allocations: 0 / 1.245 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.543e-05/0.3419, allocations: 0 / 1.245 GB, free: 3.137 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.004339/0.3463, allocations: 2.135 MB / 1.247 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3463, allocations: 16.61 kB / 1.247 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/0.3466, allocations: 190.4 kB / 1.248 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.541/0.8876, allocations: 2.077 MB / 1.25 GB, free: 38.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.8905, allocations: 1.296 MB / 1.251 GB, free: 37.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.8906, allocations: 91.11 kB / 1.251 GB, free: 37.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.8908, allocations: 115.2 kB / 1.251 GB, free: 37.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005255/0.8961, allocations: 2.678 MB / 1.254 GB, free: 37.49 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.8962, allocations: 11.78 kB / 1.254 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.8963, allocations: 58.69 kB / 1.254 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005819/0.8969, allocations: 182.7 kB / 1.254 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006601/0.9035, allocations: 2.794 MB / 1.257 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.9166, allocations: 10.46 MB / 1.267 GB, free: 32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006314/0.9229, allocations: 2.524 MB / 1.269 GB, free: 31.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.9263, allocations: 1.283 MB / 1.271 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.9264, allocations: 9.375 kB / 1.271 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.9264, allocations: 45.55 kB / 1.271 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/0.9264, allocations: 0 / 1.271 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04293/0.9693, allocations: 13.37 MB / 1.284 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.9694, allocations: 65.09 kB / 1.284 GB, free: 28.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.971, allocations: 1.119 MB / 1.285 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.9712, allocations: 47.2 kB / 1.285 GB, free: 27.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.9716, allocations: 0.7169 MB / 1.286 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.9719, allocations: 447.2 kB / 1.286 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004836/0.9724, allocations: 261.6 kB / 1.286 GB, free: 26.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9725, allocations: 361.6 kB / 1.287 GB, free: 26.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/0.9755, allocations: 1.336 MB / 1.288 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.9785, allocations: 1.609 MB / 1.289 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005829/0.9843, allocations: 2.99 MB / 1.292 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.9844, allocations: 7.375 kB / 1.292 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01055/0.9949, allocations: 4.445 MB / 1.297 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.995, allocations: 8.188 kB / 1.297 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.995, allocations: 6.062 kB / 1.297 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004891/0.9999, allocations: 1.437 MB / 1.298 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.002, allocations: 440.5 kB / 1.299 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/1.022, allocations: 26.68 MB / 1.325 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.025, allocations: 303.4 kB / 1.325 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.025, allocations: 61.91 kB / 1.325 GB, free: 13.68 MB / 1.014 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.0008838/1.026, allocations: 437.5 kB / 1.325 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/1.026, allocations: 162.8 kB / 1.326 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.037, allocations: 4.452 MB / 1.33 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.037, allocations: 16.72 kB / 1.33 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/1.037, allocations: 13.44 kB / 1.33 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.037, allocations: 7.969 kB / 1.33 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/1.052, allocations: 6.762 MB / 1.337 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.052, allocations: 9.922 kB / 1.337 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.054, allocations: 381 kB / 1.337 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00484/1.059, allocations: 1.314 MB / 1.338 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/1.059, allocations: 41.45 kB / 1.338 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/1.082, allocations: 25.5 MB / 1.363 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.082, allocations: 3.938 kB / 1.363 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.092, allocations: 4.202 MB / 1.367 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.093, allocations: 459 kB / 1.368 GB, free: 9.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/1.093, allocations: 28 kB / 1.368 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.095, allocations: 307.5 kB / 1.368 GB, free: 9.102 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/1.096, allocations: 132.2 kB / 1.368 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.096, allocations: 51.95 kB / 1.368 GB, free: 8.926 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009785/1.097, allocations: 0.7487 MB / 1.369 GB, free: 8.176 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.816e-06/1.097, allocations: 0 / 1.369 GB, free: 8.176 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00204/1.099, allocations: 0.5742 MB / 1.369 GB, free: 7.602 MB / 1.045 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.009953/1.109, allocations: 4.79 MB / 1.374 GB, free: 2.707 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009951/1.119, allocations: 5.131 MB / 1.379 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.119, allocations: 0 / 1.379 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.006226/1.125, allocations: 3.484 MB / 1.383 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.127, allocations: 0.5496 MB / 1.383 GB, free: 9.242 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/1.166, allocations: 19.37 MB / 1.402 GB, free: 5.453 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.167, allocations: 1.48 MB / 1.403 GB, free: 3.945 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001439/1.168, allocations: 425.6 kB / 1.404 GB, free: 3.523 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008095/1.169, allocations: 0.6242 MB / 1.404 GB, free: 2.898 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/1.169, allocations: 0 / 1.404 GB, free: 2.898 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/1.317, allocations: 52.76 MB / 1.456 GB, free: 14.79 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.24/18.55, allocations: 9 kB / 1.456 GB, free: 14.79 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches