Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.009154/0.009154, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002115/0.002115, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.43/2.43, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.91 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8389, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0373/0.8762, allocations: 35.13 MB / 1.242 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.8939, allocations: 9.952 MB / 1.251 GB, free: 352 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.8976, allocations: 143.3 kB / 1.251 GB, free: 208 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009844/0.9075, allocations: 3.795 MB / 1.255 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.9138, allocations: 2.048 MB / 1.257 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.9194, allocations: 1.956 MB / 1.259 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009618/0.9291, allocations: 7.967 MB / 1.267 GB, free: 404 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01352/0.9426, allocations: 9.525 MB / 1.276 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006491/0.9492, allocations: 3.423 MB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.9558, allocations: 3.727 MB / 1.283 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0022/0.958, allocations: 0.6797 MB / 1.284 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00419/0.9622, allocations: 1.451 MB / 1.285 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004071/0.9663, allocations: 2.62 MB / 1.288 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006247/0.9726, allocations: 3.093 MB / 1.291 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.9865, allocations: 10.39 MB / 1.301 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.9865, allocations: 4 kB / 1.301 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9865, allocations: 0 / 1.301 GB, free: 13.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004052/0.9869, allocations: 0 / 1.301 GB, free: 13.29 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01648/1.003, allocations: 5.412 MB / 1.306 GB, free: 7.809 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.003, allocations: 8.031 kB / 1.306 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002503/1.006, allocations: 0.6984 MB / 1.307 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/1.012, allocations: 0.9626 MB / 1.308 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007738/1.02, allocations: 3.178 MB / 1.311 GB, free: 2.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004177/1.02, allocations: 357.9 kB / 1.311 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/1.022, allocations: 476.2 kB / 1.312 GB, free: 2.074 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.041, allocations: 7.91 MB / 1.319 GB, free: 9.801 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/1.041, allocations: 19.81 kB / 1.319 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/1.042, allocations: 208 kB / 1.32 GB, free: 9.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005313/1.043, allocations: 365.1 kB / 1.32 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/1.054, allocations: 5.937 MB / 1.326 GB, free: 3.266 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03938/1.094, allocations: 35.94 MB / 1.361 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/1.097, allocations: 2.142 MB / 1.363 GB, free: 9.934 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/1.099, allocations: 1.477 MB / 1.364 GB, free: 8.453 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.099, allocations: 25.25 kB / 1.364 GB, free: 8.43 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/1.1, allocations: 51.88 kB / 1.365 GB, free: 8.371 MB / 1.092 GB Notification: Performance of pre-optimization done (n=157): time 3.647e-06/1.1, allocations: 0 / 1.365 GB, free: 8.371 MB / 1.092 GB Notification: Performance of matching and sorting (n=160): time 0.01369/1.113, allocations: 7.536 MB / 1.372 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.113, allocations: 68.72 kB / 1.372 GB, free: 496 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/1.116, allocations: 1.86 MB / 1.374 GB, free: 14.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/1.116, allocations: 61.64 kB / 1.374 GB, free: 14.53 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.118, allocations: 2.127 MB / 1.376 GB, free: 12.38 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/1.118, allocations: 0.5546 MB / 1.376 GB, free: 11.82 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006027/1.119, allocations: 403.7 kB / 1.377 GB, free: 11.41 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/1.119, allocations: 301.1 kB / 1.377 GB, free: 11.12 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/1.12, allocations: 1.062 MB / 1.378 GB, free: 10.05 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/1.122, allocations: 1.756 MB / 1.38 GB, free: 7.977 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/1.126, allocations: 3.056 MB / 1.383 GB, free: 4.605 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/1.126, allocations: 7.938 kB / 1.383 GB, free: 4.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006031/1.132, allocations: 3.924 MB / 1.387 GB, free: 0.625 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.132, allocations: 12.94 kB / 1.387 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/1.132, allocations: 27.98 kB / 1.387 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/1.134, allocations: 0.9311 MB / 1.388 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.136, allocations: 427.2 kB / 1.388 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/1.155, allocations: 22.75 MB / 1.41 GB, free: 6.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1.157, allocations: 127.9 kB / 1.41 GB, free: 6.641 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/1.157, allocations: 95.94 kB / 1.41 GB, free: 6.547 MB / 1.139 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002792/1.16, allocations: 1.648 MB / 1.412 GB, free: 4.887 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/1.16, allocations: 257 kB / 1.412 GB, free: 4.633 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/1.166, allocations: 3.256 MB / 1.416 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.166, allocations: 20 kB / 1.416 GB, free: 1.305 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/1.166, allocations: 8 kB / 1.416 GB, free: 1.297 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.166, allocations: 11.91 kB / 1.416 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.18, allocations: 7.552 MB / 1.423 GB, free: 9.578 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.18, allocations: 4 kB / 1.423 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/1.181, allocations: 219.6 kB / 1.423 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/1.183, allocations: 0.889 MB / 1.424 GB, free: 8.434 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.183, allocations: 32 kB / 1.424 GB, free: 8.402 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/1.202, allocations: 22.73 MB / 1.446 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.202, allocations: 12.12 kB / 1.446 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/1.208, allocations: 3.375 MB / 1.45 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.209, allocations: 0.5292 MB / 1.45 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/1.21, allocations: 51.8 kB / 1.45 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.211, allocations: 87.89 kB / 1.45 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/1.212, allocations: 145 kB / 1.45 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.212, allocations: 47.98 kB / 1.45 GB, free: 11.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002004/1.214, allocations: 1.221 MB / 1.452 GB, free: 10.36 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.91e-07/1.214, allocations: 4 kB / 1.452 GB, free: 10.36 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003171/1.217, allocations: 0.9062 MB / 1.452 GB, free: 9.453 MB / 1.186 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00556/1.223, allocations: 3.972 MB / 1.456 GB, free: 5.359 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006192/1.229, allocations: 4.435 MB / 1.461 GB, free: 0.7734 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.229, allocations: 4 kB / 1.461 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003775/1.233, allocations: 2.989 MB / 1.464 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/1.236, allocations: 0.8327 MB / 1.464 GB, free: 12.8 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/1.275, allocations: 25.04 MB / 1.489 GB, free: 2.672 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/1.279, allocations: 3.209 MB / 1.492 GB, free: 15.43 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001842/1.281, allocations: 0.5254 MB / 1.493 GB, free: 14.89 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002221/1.283, allocations: 1.651 MB / 1.494 GB, free: 13.24 MB / 1.232 GB Notification: Performance of SimCode: time 1.312e-06/1.283, allocations: 4 kB / 1.494 GB, free: 13.24 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7503/2.034, allocations: 70.96 MB / 1.563 GB, free: 321.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/16.49, allocations: 11.91 kB / 1.563 GB, free: 321.4 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches