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.00702/0.00702, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001663/0.001663, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.91 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, 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.01614/0.2992, allocations: 14.05 MB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3124, allocations: 9.399 MB / 1.23 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.3136, allocations: 55.62 kB / 1.23 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.3178, allocations: 1.673 MB / 1.232 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.3221, allocations: 1.546 MB / 1.233 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.324, allocations: 0.7504 MB / 1.234 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.3274, allocations: 2.516 MB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.3294, allocations: 1.419 MB / 1.238 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.3311, allocations: 1.067 MB / 1.239 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.3329, allocations: 1.136 MB / 1.24 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004343/0.3333, allocations: 168 kB / 1.24 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.3351, allocations: 0.7877 MB / 1.241 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008569/0.336, allocations: 0.6193 MB / 1.242 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.3376, allocations: 0.9446 MB / 1.243 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.3412, allocations: 2.741 MB / 1.245 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3413, allocations: 3.938 kB / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3413, allocations: 0 / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001106/0.3414, allocations: 4 kB / 1.245 GB, free: 3.145 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.005538/0.3469, allocations: 2.147 MB / 1.247 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.347, allocations: 12.62 kB / 1.247 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004592/0.3475, allocations: 194.3 kB / 1.248 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5894/0.9368, allocations: 2.082 MB / 1.25 GB, free: 38.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.9397, allocations: 1.293 MB / 1.251 GB, free: 37.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.9398, allocations: 91.08 kB / 1.251 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.94, allocations: 116 kB / 1.251 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005468/0.9455, allocations: 2.68 MB / 1.254 GB, free: 37.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.9455, allocations: 13.19 kB / 1.254 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.9457, allocations: 54.12 kB / 1.254 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006151/0.9463, allocations: 178.9 kB / 1.254 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/0.9538, allocations: 2.799 MB / 1.257 GB, free: 37.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.969, allocations: 10.45 MB / 1.267 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007386/0.9765, allocations: 2.529 MB / 1.269 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/0.9803, allocations: 1.282 MB / 1.271 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.212e-05/0.9804, allocations: 9.5 kB / 1.271 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.9804, allocations: 44.45 kB / 1.271 GB, free: 31.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.815e-06/0.9804, allocations: 0 / 1.271 GB, free: 31.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04737/1.028, allocations: 13.37 MB / 1.284 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.028, allocations: 66.83 kB / 1.284 GB, free: 28.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.03, allocations: 1.118 MB / 1.285 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/1.03, allocations: 47.39 kB / 1.285 GB, free: 27.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/1.031, allocations: 0.7172 MB / 1.286 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/1.031, allocations: 447.8 kB / 1.286 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007047/1.032, allocations: 261 kB / 1.286 GB, free: 26.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.032, allocations: 361.8 kB / 1.287 GB, free: 26.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/1.036, allocations: 1.34 MB / 1.288 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/1.039, allocations: 1.604 MB / 1.289 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007031/1.046, allocations: 2.995 MB / 1.292 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.046, allocations: 6.125 kB / 1.292 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01171/1.058, allocations: 4.444 MB / 1.297 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/1.058, allocations: 7.594 kB / 1.297 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.058, allocations: 6.688 kB / 1.297 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/1.063, allocations: 1.438 MB / 1.298 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.065, allocations: 433.2 kB / 1.299 GB, free: 21.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/1.087, allocations: 26.69 MB / 1.325 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/1.09, allocations: 303 kB / 1.325 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/1.09, allocations: 61.94 kB / 1.325 GB, free: 13.66 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.001126/1.091, allocations: 436.8 kB / 1.325 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/1.092, allocations: 161.9 kB / 1.326 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.104, allocations: 4.457 MB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.104, allocations: 13.09 kB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/1.104, allocations: 16.59 kB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.104, allocations: 5.109 kB / 1.33 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.121, allocations: 6.768 MB / 1.337 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.121, allocations: 2.281 kB / 1.337 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.123, allocations: 385 kB / 1.337 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004694/1.127, allocations: 1.308 MB / 1.338 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.128, allocations: 41.94 kB / 1.338 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02314/1.151, allocations: 25.49 MB / 1.363 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.151, allocations: 8.156 kB / 1.363 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.162, allocations: 4.206 MB / 1.367 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.163, allocations: 455 kB / 1.368 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/1.163, allocations: 28 kB / 1.368 GB, free: 9.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/1.166, allocations: 307.6 kB / 1.368 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004887/1.166, allocations: 132.6 kB / 1.368 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.166, allocations: 47.97 kB / 1.368 GB, free: 8.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001251/1.168, allocations: 0.7565 MB / 1.369 GB, free: 8.188 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.168, allocations: 0 / 1.369 GB, free: 8.188 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002503/1.17, allocations: 0.5664 MB / 1.369 GB, free: 7.621 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.01102/1.181, allocations: 4.791 MB / 1.374 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.192, allocations: 5.132 MB / 1.379 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.192, allocations: 0 / 1.379 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.006637/1.199, allocations: 3.489 MB / 1.383 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/1.201, allocations: 0.5524 MB / 1.383 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/1.242, allocations: 19.37 MB / 1.402 GB, free: 5.477 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/1.244, allocations: 1.473 MB / 1.403 GB, free: 3.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00142/1.245, allocations: 430.3 kB / 1.404 GB, free: 3.547 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000896/1.246, allocations: 0.6281 MB / 1.404 GB, free: 2.918 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.246, allocations: 0 / 1.404 GB, free: 2.918 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.349, allocations: 52.75 MB / 1.456 GB, free: 14.82 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/19.15, allocations: 14.23 kB / 1.456 GB, free: 14.81 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